Closed rbozan closed 2 months ago
The comment below your include
config states:
If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes from the referenced tsconfig.json - TypeScript does not merge them in
You didn't do that, so the only included files are ./src/gtag.d.ts
and ../generated/*.ts
. These are not .svelte
files, and judging from the includes they aren't indirectly included either. So you are very likely in fact not checking any Svelte files.
That said, there could be cases where someone just points to an entry point, and Svelte files are detected from there on. @jasonlyu123 we didn't think about this case, I think need to tweak when the error is thrown (after all the files have been traversed).
Ah I see... Well I guess it's not really a bug then but it was pretty unexpected because there was nothing in the breaking changes that indicated that I had to change something.
Describe the bug
On svelte-check 4.0.1:
Reproduction
Expected behaviour
On svelte-check 3.8.5 it does seem to work:
System Info
Which package is the issue about?
svelte-check
Additional Information, eg. Screenshots
My tsconfig.json:
The generated
.svelte-kit/tsconfig.json
from the sync command: