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
Everything under $app/* is defined in node_modules/@sveltejs/kit/types/ambient-modules.d.ts:
declare module '$app/env' {
...
}
How can I configure eslint-plugin-import so that it resolves $app/* to these definitions? Typescript resolution works, so I'm not sure why ESLint is unable to resolve them.
Uh oh!
There was an error while loading. Please reload this page.
SvelteKit has various imports of the form:
Everything under
$app/*
is defined innode_modules/@sveltejs/kit/types/ambient-modules.d.ts
:How can I configure eslint-plugin-import so that it resolves
$app/*
to these definitions? Typescript resolution works, so I'm not sure why ESLint is unable to resolve them.Related: #1509
The text was updated successfully, but these errors were encountered: