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
If I run svelte-kit sync; pnpm lint I get an error:
/tmp/eslint-test/src/routes/+page.svelte
6:37 error Unsafe member access .value2 on an `any` value @typescript-eslint/no-unsafe-member-access
6:51 error Unsafe member access .value3 on an `any` value @typescript-eslint/no-unsafe-member-access
However apiis actually typed. Typescript also doesn't seem to complain:
Does anyone know what's going wrong here?
--
A minimal example based on the SvelteKit template can be found here: Github-Repo StackBlitz
The text was updated successfully, but these errors were encountered:
ESlint somehow reports an
unsafe-member-access
error when I try to access a exported property of a componente. Consider this component:which is imported here:
If I run
svelte-kit sync; pnpm lint
I get an error:However
api
is actually typed. Typescript also doesn't seem to complain:Does anyone know what's going wrong here?
--
A minimal example based on the SvelteKit template can be found here:
Github-Repo
StackBlitz
The text was updated successfully, but these errors were encountered: