lxsmnsyc / solid-styled

Reactive stylesheets for SolidJS
MIT License
173 stars 10 forks source link

How to avoid `Expected an assignment or function call and instead saw an expression` TS error? #26

Open nikitavoloboev opened 9 months ago

nikitavoloboev commented 9 months ago
image
lxsmnsyc commented 9 months ago

depends on your linter configuration, see: https://eslint.org/docs/latest/rules/no-unused-expressions#allowtaggedtemplates and https://typescript-eslint.io/rules/no-unused-expressions/