Closed frederikhors closed 4 years ago
Using this:
let canRender $: canRender, console.log('HI')
is perfectly fine and it works.
But I get an error:
Expected an assignment or function call and instead saw an expression (eslint, no-unused-expressions)
Why?
This is because the canRender expression causing eslint to report linting error.
canRender
Using this:
is perfectly fine and it works.
But I get an error:
Why?