debug
This commit is contained in:
@@ -1,45 +1,38 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"target": "ESNext",
|
||||
"useDefineForClassFields": true, // 使用类字段的定义初始化,适用于类字段的初始化
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Node",
|
||||
"types": ["vite/client", "element-plus/global"],
|
||||
|
||||
/* Strict Type-Checking Options */
|
||||
"strict": true, // 启用所有严格的类型检查选项
|
||||
"noImplicitAny": false /* 在具有隐含 'any' 类型的表达式和声明上引发错误。 */,
|
||||
// "strictNullChecks": true, /* 启用严格的 null 检查。 */
|
||||
// "strictFunctionTypes": true, /* 启用对函数类型的严格检查。 */
|
||||
// "strictBindCallApply": true, /* 启用对函数上的严格 'bind', 'call', 和 'apply' 方法的检查。 */
|
||||
// "strictPropertyInitialization": true, /* 启用对类中属性初始化的严格检查。 */
|
||||
// "noImplicitThis": true, /* 在具有隐含 'any' 类型的 'this' 表达式上引发错误。 */
|
||||
// "alwaysStrict": true, /* 在严格模式下解析并为每个源文件发出 "use strict"。 */
|
||||
|
||||
"jsx": "preserve",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"lib": ["ESNext", "DOM"],
|
||||
"skipLibCheck": true,
|
||||
"noEmit": true,
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@": ["src"],
|
||||
"@/*": ["src/*"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.d.ts",
|
||||
"src/**/*.tsx",
|
||||
"src/**/*.vue",
|
||||
"build/**/*.ts",
|
||||
"build/**/*.d.ts",
|
||||
"vite.config.ts",
|
||||
"src/utils/lozad.min.js"
|
||||
],
|
||||
"exclude": ["node_modules", "dist", "**/*.js"]
|
||||
}
|
||||
{
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"target": "ESNext",
|
||||
"useDefineForClassFields": true,
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Node",
|
||||
"types": ["vite/client", "element-plus/global"],
|
||||
|
||||
"strict": true,
|
||||
"noImplicitAny": false,
|
||||
|
||||
"jsx": "preserve",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"lib": ["ESNext", "DOM"],
|
||||
"skipLibCheck": true,
|
||||
"noEmit": true,
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@": ["src"],
|
||||
"@/*": ["src/*"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.d.ts",
|
||||
"src/**/*.tsx",
|
||||
"src/**/*.vue",
|
||||
"build/**/*.ts",
|
||||
"build/**/*.d.ts",
|
||||
"vite.config.ts",
|
||||
"src/utils/lozad.min.js"
|
||||
],
|
||||
"exclude": ["node_modules", "dist", "**/*.js"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user