solid-styled icon indicating copy to clipboard operation
solid-styled copied to clipboard

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

Open nikivdev opened this issue 2 years ago • 1 comments

image

nikivdev avatar Nov 12 '23 14:11 nikivdev

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/

lxsmnsyc avatar Nov 12 '23 15:11 lxsmnsyc