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