-
Notifications
You must be signed in to change notification settings - Fork 590
/
tsconfig.json
27 lines (27 loc) · 953 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"compilerOptions": {
"target": "ES2018",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"module": "ESNext",
"moduleResolution": "Node",
"experimentalDecorators": true,
"jsx": "react",
"noEmit": true,
"downlevelIteration": true,
"noImplicitAny": true,
"strictNullChecks": true,
"allowJs": true, // 改造期间暂时允许导入 js 文件
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"isolatedModules": false,
"baseUrl": ".",
"paths": {
"@alifd/next": ["./components/index.ts"],
"@alifd/next/es/*": ["./components/*"],
"@alifd/next/lib/*": ["./components/*"],
"@alifd/next/types/*": ["./components/*"]
}
},
"include": ["global.d.ts", "cypress/**/*.ts", "./components/**/*.ts", "./components/**/*.tsx", "tools"]
}