aboutsummaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-07-21 07:22:36 -0400
committerFurkan Sahin <furkan-dev@proton.me>2022-07-21 07:22:36 -0400
commit59067695f934184c7e6efaa4fc89fbde2f27a7cb (patch)
treeaa0673196256ec61544b6acbc3471a81516b5f20 /tsconfig.json
parentb3fdc004706a1501b32372747abc1f4f4b7dd367 (diff)
initial migration, app runs
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json28
1 files changed, 21 insertions, 7 deletions
diff --git a/tsconfig.json b/tsconfig.json
index bbb617e..9df6d50 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,15 +1,29 @@
{
"extends": "@tsconfig/svelte/tsconfig.json",
"compilerOptions": {
- "strictNullChecks": true,
- "resolveJsonModule": true
+ "target": "ESNext",
+ "useDefineForClassFields": true,
+ "module": "ESNext",
+ "resolveJsonModule": true,
+ "baseUrl": ".",
+ /**
+ * Typecheck JS in `.svelte` and `.js` files by default.
+ * Disable checkJs if you'd like to use dynamic types in JS.
+ * Note that setting allowJs false does not prevent the use
+ * of JS in `.svelte` files.
+ */
+ "allowJs": false,
+ "checkJs": false,
+ "isolatedModules": true
},
"include": [
- "src/**/*"
+ "src/**/*.d.ts",
+ "src/**/*.ts",
+ "src/**/*.svelte"
],
- "exclude": [
- "node_modules/*",
- "__sapper__/*",
- "public/*"
+ "references": [
+ {
+ "path": "./tsconfig.node.json"
+ }
]
} \ No newline at end of file