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
{{ message }}
Repository navigation
@void/svelte's root export has no type declarations, so svelte-check fails in a new Svelte app #972
After npm create void with Svelte and the default D1 starter, npx svelte-check reports seven errors inside @void/svelte:
node_modules/@void/svelte/src/runtime/index.ts:3:27
Error: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.
The package root points TypeScript at src/runtime/index.ts, whose re-exports end in .ts, and the starter's config doesn't enable that flag.
An existing Vite Svelte app set up as the Pages guide describes gets the same seven errors from npm run check once a checked component imports from @void/svelte.
To reproduce in Void 1.12.2, run npm create void@1.12.2 app, pick Svelte, accept the defaults and skip deployment, then run npx svelte-check in app.
Activity