lxsmnsyc / solid-styled

Reactive stylesheets for SolidJS
MIT License
177 stars 11 forks source link

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

Open nikitavoloboev opened 1 year ago

nikitavoloboev commented 1 year ago
image
lxsmnsyc commented 1 year 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/