Describe the bug
There is an inconsistency in the error reporting of svelte-check with the --tsgo and --incremental flags in projects with "references" in tsconfig.json
In tsgo mode it shows extra errors for references:
Error: Output file '/.../svelte-check-refs/t/dist/src/index.d.ts' has not been built from source file '/.../svelte-check-refs/t/src/index.ts'. (ts)
Reproduction
Follow the README steps in this repo. The differences can be seen in the npm scripts
https://github.com/ageorgeh/svelte-check-repro
Expected behaviour
tsgo and incremental do not give these errors and svelte-check reports the same with or without these flags
System Info
Which package is the issue about?
svelte-check
Additional Information, eg. Screenshots
No response
Describe the bug
There is an inconsistency in the error reporting of
svelte-checkwith the--tsgoand--incrementalflags in projects with "references" in tsconfig.jsonIn tsgo mode it shows extra errors for references:
Reproduction
Follow the README steps in this repo. The differences can be seen in the npm scripts
https://github.com/ageorgeh/svelte-check-repro
Expected behaviour
tsgo and incremental do not give these errors and
svelte-checkreports the same with or without these flagsSystem Info
Which package is the issue about?
svelte-check
Additional Information, eg. Screenshots
No response