guhongwei 2 years ago
parent
commit
aa8d48a726
2 changed files with 11 additions and 2 deletions
  1. 1 0
      tsconfig.json
  2. 10 2
      tsconfig.node.json

+ 1 - 0
tsconfig.json

@@ -12,6 +12,7 @@
     "**/*.tsx"
   ],
   "compilerOptions": {
+    "ignoreDeprecations": "5.0",
     "target": "esnext",
     "module": "esnext",
     "strict": false,

+ 10 - 2
tsconfig.node.json

@@ -1,8 +1,16 @@
 {
   "extends": "@vue/tsconfig/tsconfig.node.json",
-  "include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"],
+  "include": [
+    "vite.config.*",
+    "vitest.config.*",
+    "cypress.config.*",
+    "playwright.config.*"
+  ],
   "compilerOptions": {
+    "ignoreDeprecations": "5.0",
     "composite": true,
-    "types": ["node"]
+    "types": [
+      "node"
+    ]
   }
 }