Fix tsconfig

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2023-03-28 18:12:12 +02:00
parent 30105e2845
commit 46666fd6da
3 changed files with 10 additions and 2 deletions
+7
View File
@@ -27,6 +27,7 @@
"@playwright/test": "^1.32.1",
"@sinonjs/fake-timers": "^10.0.2",
"@sveltejs/vite-plugin-svelte": "^2.0.3",
"@tsconfig/svelte": "^4.0.1",
"@types/dompurify": "^3.0.0",
"@types/katex": "^0.16.0",
"@types/lodash": "^4.14.192",
@@ -623,6 +624,12 @@
"vite": "^4.0.0"
}
},
"node_modules/@tsconfig/svelte": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/@tsconfig/svelte/-/svelte-4.0.1.tgz",
"integrity": "sha512-B+XlGpmuAQzJqDoBATNCvEPqQg0HkO7S8pM14QDI5NsmtymzRexQ1N+nX2H6RTtFbuFgaZD4I8AAi8voGg0GLg==",
"dev": true
},
"node_modules/@types/chai": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.4.tgz",
+1
View File
@@ -20,6 +20,7 @@
"@playwright/test": "^1.32.1",
"@sinonjs/fake-timers": "^10.0.2",
"@sveltejs/vite-plugin-svelte": "^2.0.3",
"@tsconfig/svelte": "^4.0.1",
"@types/dompurify": "^3.0.0",
"@types/katex": "^0.16.0",
"@types/lodash": "^4.14.192",
+2 -2
View File
@@ -1,4 +1,5 @@
{
"extends": "@tsconfig/svelte/tsconfig.json",
"include": ["src", "tests"],
"exclude": ["node_modules/*"],
"compilerOptions": {
@@ -7,13 +8,12 @@
"types": ["svelte", "vite/client"],
"sourceMap": true,
"baseUrl": "./",
"moduleResolution": "bundler",
"moduleResolution": "node",
"strict": true,
"resolveJsonModule": true,
"useDefineForClassFields": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"verbatimModuleSyntax": true,
"skipLibCheck": true,
"paths": {
"@app/*": ["./src/*"],