You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In sveltejs/eslint-plugin-svelte#347 I proposed a rule to require slots and their props to be typed. In this package, those types should be used if they're present.
Here, on the marked line, I get the eslint error @typescript-eslint/no-unsafe-call - I presume that's because the parser does not infer that arrayValue is of type Array<string> and leaves it as any...
The text was updated successfully, but these errors were encountered:
Description
In sveltejs/eslint-plugin-svelte#347 I proposed a rule to require slots and their props to be typed. In this package, those types should be used if they're present.
An example of what currently doesn't work:
App.svelte
:Component.svelte
:Here, on the marked line, I get the eslint error
@typescript-eslint/no-unsafe-call
- I presume that's because the parser does not infer thatarrayValue
is of typeArray<string>
and leaves it asany
...The text was updated successfully, but these errors were encountered: