We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71aa341 commit 780ad9eCopy full SHA for 780ad9e
pyscriptjs/tsconfig.json
@@ -1,5 +1,7 @@
1
{
2
- "extends": "@tsconfig/svelte/tsconfig.json",
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Svelte",
4
+ "_version": "3.0.0",
5
6
"include": ["src/**/*"],
7
"exclude": ["node_modules/*", "__sapper__/*", "public/*"],
@@ -21,6 +23,12 @@
21
23
/** Requests the runtime types from the svelte modules by default. Needed for TS files or else you get errors. */
22
24
"types": ["svelte"],
25
26
+ /**
27
+ TypeScript doesn't know about import usages in the template because it only sees the
28
+ script of a Svelte file. Therefore preserve all value imports. Requires TS 4.5 or higher.
29
+ */
30
+ "preserveValueImports": true,
31
+
32
"strict": false,
33
"esModuleInterop": true,
34
"skipLibCheck": true,
0 commit comments