zs il y a 1 an
Parent
commit
0cfa546e45
3 fichiers modifiés avec 7 ajouts et 19 suppressions
  1. 3 12
      tsconfig.app.json
  2. 4 6
      tsconfig.json
  3. 0 1
      tsconfig.node.json

+ 3 - 12
tsconfig.app.json

@@ -1,21 +1,12 @@
 {
   "extends": "@vue/tsconfig/tsconfig.dom.json",
-  "include": [
-    "env.d.ts",
-    "src/**/*",
-    "src/**/*.vue"
-  ],
-  "exclude": [
-    "src/**/__tests__/*"
-  ],
+  "include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
+  "exclude": ["src/**/__tests__/*"],
   "compilerOptions": {
     "composite": true,
-    "moduleResolution": "node",
     "baseUrl": ".",
     "paths": {
-      "@/*": [
-        "./src/*"
-      ]
+      "@/*": ["./src/*"]
     }
   }
 }

+ 4 - 6
tsconfig.json

@@ -14,10 +14,10 @@
   "compilerOptions": {
     "ignoreDeprecations": "5.0",
     "target": "esnext",
-    "module": "esnext",
+    "module": "es2022",
     "strict": false,
     "jsx": "preserve",
-    "moduleResolution": "node",
+    "moduleResolution": "Node",
     "baseUrl": "./",
     "paths": {
       "@/*": [
@@ -34,13 +34,11 @@
       "dom",
       "dom.iterable"
     ],
-    "allowSyntheticDefaultImports": true,
-    "noImplicitAny": false,
-    "allowJs": true,
+    "allowSyntheticDefaultImports": true
   },
   "references": [
     {
       "path": "./tsconfig.node.json"
     }
   ]
-}
+}

+ 0 - 1
tsconfig.node.json

@@ -7,7 +7,6 @@
     "playwright.config.*"
   ],
   "compilerOptions": {
-    "moduleResolution": "node",
     "ignoreDeprecations": "5.0",
     "composite": true,
     "types": [