This repository has been archived by the owner on Feb 15, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update svelte-check and tsconfig-base in setupTypeScript (#246)
- since `svelte-check` 1.6.0, one can pass a tsconfig path and get better diagnostics (scoped to the project files, including TS/JS) -> update accordingly - `svelte-check` got a major version bump, update accordingly - `@tsconfig/svelte` 2.0.0 doesn't includes `"types": ["svelte"]` anymore, which will avoid confusion around other global types not getting picked up. To not get errors in TS files when importing Svelte files, a new `global.d.ts` is added which contains a reference so those types which were previously provided through the `"types"` option are picked up
- Loading branch information