Skip to content

Commit

Permalink
[fix] incorrect path to generated tsconfig.json (#4179)
Browse files Browse the repository at this point in the history
When attempting to update my existing sveltekit project I  added `"extends": ".svelte-kit/tsconfig.json"` like the docs say and was met with the error `'.svelte-kit/tsconfig.json' not found.` I checked the template and the correct path was `./.svelte-kit/tsconfig.json`. Without the `./`, the project fails to build and every svelte file has an error.
  • Loading branch information
JacobZwang committed Mar 2, 2022
1 parent 399303f commit 30c99c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/14-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ export async function get({ params }) {

> For this to work, your own `tsconfig.json` or `jsconfig.json` should extend from the generated `.svelte-kit/tsconfig.json`:
>
> { "extends": ".svelte-kit/tsconfig.json" }
> { "extends": "./.svelte-kit/tsconfig.json" }

0 comments on commit 30c99c6

Please sign in to comment.