{ "extends": "@vue/tsconfig/tsconfig.json", "include": [ "src/**/*.ts", "src/.d.ts/*.d.ts", "src/.d.ts/**/*.d.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "vite/**/*.ts", ".eslintrc.cjs", "vite.config.ts", "src/.d.ts/vite-env.d.ts" ], "compilerOptions": { "target": "ES2020", "module": "ESNext", "moduleResolution": "Bundler", "lib": [ "ESNext", "DOM", "DOM.Iterable" ], "skipLibCheck": true, // This setting lets you specify a file for storing incremental compilation information as a part of composite projects which enables faster building of larger TypeScript codebases. "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.tsbuildinfo", "strict": true, "allowJs": true, "jsx": "preserve", "sourceMap": true, "resolveJsonModule": true, "esModuleInterop": true, "noEmit": true, "types": [ "node", "element-plus/global" ], "baseUrl": "./", "paths": { "@a": [ "src/api" ], "@a/*": [ "src/api/*" ], "@s": [ "src/stores" ], "@s/*": [ "src/stores/*" ], "@r": [ "src/router" ], "@r/*": [ "src/router/*" ], "@v/*": [ "src/views/*" ], "@@/*": [ "src/core/*" ], "@@@/*": [ "src/components/*" ], "@com/*": [ "src/components/*" ], "@/*": [ "src/*" ], "~/*": [ "./*" ] }, // 自定义配置 "noImplicitAny": false, // 禁用 隐式的any错误 "removeComments": true, // 移除 ts注释 "experimentalDecorators": true, // 启用实验性的装饰器支持 "strictFunctionTypes": false, // 禁用严格函数类型检查 "strictNullChecks": false, // 禁用严格的空值检查 "allowSyntheticDefaultImports": true, // 允许默认导入 "forceConsistentCasingInFileNames": true // 强制在文件名中使用一致的大小写 }, "exclude": [ "node_modules" ], "references": [ { "path": "./tsconfig.config.json" } ] }