tsconfig.json 976 字节
Newer Older
陈文彬 已提交
1 2
{
  "compilerOptions": {
V
vben 已提交
3
    "target": "esnext",
陈文彬 已提交
4 5 6 7 8 9
    "module": "esnext",
    "moduleResolution": "node",
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "allowSyntheticDefaultImports": true,
    "strictFunctionTypes": false,
10
    "jsx": "preserve",
陈文彬 已提交
11 12
    "baseUrl": ".",
    "allowJs": true,
V
vben 已提交
13
    "sourceMap": true,
陈文彬 已提交
14
    "esModuleInterop": true,
V
vben 已提交
15
    "resolveJsonModule": true,
陈文彬 已提交
16 17 18
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "experimentalDecorators": true,
19
    "lib": ["dom", "esnext"],
V
vben 已提交
20
    "types": ["vite/client"],
V
Vben 已提交
21
    "typeRoots": ["./node_modules/@types/", "./types"],
陈文彬 已提交
22
    "incremental": true,
V
vben 已提交
23
    "noImplicitAny": false,
陈文彬 已提交
24 25
    "skipLibCheck": true,
    "paths": {
V
Vben 已提交
26 27
      "/@/*": ["src/*"],
      "/#/*": ["types/*"]
陈文彬 已提交
28 29
    }
  },
V
Vben 已提交
30 31 32 33 34 35 36 37 38
  "include": [
    "src/**/*.ts",
    "src/**/*.d.ts",
    "src/**/*.tsx",
    "src/**/*.vue",
    "types/**/*.d.ts",
    "types/**/*.ts",
    "mock/**/*.ts"
  ],
39
  "exclude": ["node_modules", "dist", "**/*.js"]
陈文彬 已提交
40
}