-
-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
false positiveSevere bug: quick-lint-js rejects valid codeSevere bug: quick-lint-js rejects valid code
Description
sveltekit projects have a app.d.ts
file. i use it like this:
declare global {
interface NavLink {
type: 'nav',
title: string,
href: string,
}
interface SubmenuSeparator {
type: 'separator'
}
}
// ...
export {};
However, the global types are not recognized and show:
tsconfig:
the "./.svelte-kit/tsconfig.json" is auto-generated / changes a lot, better to check a bare sveltekit starter project.
vegerot and groundbirdaircat
Metadata
Metadata
Assignees
Labels
false positiveSevere bug: quick-lint-js rejects valid codeSevere bug: quick-lint-js rejects valid code