Skip to content
Discussion options

You must be logged in to vote

I figured out that the types for $env weren't being imported because I was overriding include in tsconfig.json. This (new?) note in tsconfig.json in the SvelteKit skeleton project was the clue:

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

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@DePasqualeOrg
Comment options

@mattcroat
Comment options

@DePasqualeOrg
Comment options

@mattcroat
Comment options

@DePasqualeOrg
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by DePasqualeOrg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants