-
-
Notifications
You must be signed in to change notification settings - Fork 212
Open
Description
Description
solution style tsconfig.json
files allows to apply different typescript settings to different directories. #2463 added support for project references, but it seems it doesn't work with solution style tsconfig.json
files.
Proposed solution
Support solution style tsconfig.json
files
Alternatives
No response
Additional Information, eg. Screenshots
Reproduction
- Open https://stackblitz.com/edit/vitejs-vite-7tpf5x?terminal=dev
- Download it from here
- Open that directory in VSCode with Svelte extension enabled
- Open
vite.config.ts
- Open
tsconfig.json
- See the errors (
Referenced project 'tsconfig.app.json' must have setting "composite": true.
,Referenced project 'tsconfig.app.json' may not disable emit.
) happening - Disable Svelte extension and close all files and reload window
- Open
vite.config.ts
- Open
tsconfig.json
- No errors happen
1.-3. (same with above)
4. Open src/App.svelte
5. See Cannot find module './assets/svelte.svg' or its corresponding type declarations.
shown (I guess tsconfig.app.json
is not used)
System Info
VSCode Information
Version: 1.95.3
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.95.3 Chrome/128.0.6613.186 Electron/32.2.1 Safari/537.36
Svelte Extension
v109.3.2
Metadata
Metadata
Assignees
Labels
No labels