|
@@ -3,9 +3,12 @@
|
|
"target": "ES2020",
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"module": "ESNext",
|
|
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
|
|
|
|
+ "lib": [
|
|
|
|
+ "ES2020",
|
|
|
|
+ "DOM",
|
|
|
|
+ "DOM.Iterable"
|
|
|
|
+ ],
|
|
"skipLibCheck": true,
|
|
"skipLibCheck": true,
|
|
-
|
|
|
|
/* Bundler mode */
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"allowImportingTsExtensions": true,
|
|
@@ -13,20 +16,34 @@
|
|
"isolatedModules": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"noEmit": true,
|
|
"jsx": "preserve",
|
|
"jsx": "preserve",
|
|
-
|
|
|
|
"baseUrl": ".",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"paths": {
|
|
- "@/*": ["src/*"],
|
|
|
|
-// "/@build/*": ["build/*"],
|
|
|
|
-// "/#/*": ["types/*"],
|
|
|
|
-// "_pinia/*": ["src/pinia/*"]
|
|
|
|
|
|
+ "@/*": [
|
|
|
|
+ "src/*"
|
|
|
|
+ ]
|
|
|
|
+ // "/@build/*": ["build/*"],
|
|
|
|
+ // "/#/*": ["types/*"],
|
|
|
|
+ // "_pinia/*": ["src/pinia/*"]
|
|
},
|
|
},
|
|
/* Linting */
|
|
/* Linting */
|
|
"strict": true,
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noUnusedParameters": true,
|
|
- "noFallthroughCasesInSwitch": true
|
|
|
|
|
|
+ "noFallthroughCasesInSwitch": true,
|
|
|
|
+ "typeRoots": [
|
|
|
|
+ "./node_modules/@types",
|
|
|
|
+ "./src/types"
|
|
|
|
+ ]
|
|
},
|
|
},
|
|
- "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
|
|
- "references": [{ "path": "./tsconfig.node.json" }]
|
|
|
|
|
|
+ "include": [
|
|
|
|
+ "src/**/*.ts",
|
|
|
|
+ "src/**/*.d.ts",
|
|
|
|
+ "src/**/*.tsx",
|
|
|
|
+ "src/**/*.vue"
|
|
|
|
+ ],
|
|
|
|
+ "references": [
|
|
|
|
+ {
|
|
|
|
+ "path": "./tsconfig.node.json"
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
}
|
|
}
|