forked from alibaba-fusion/next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
26 lines (26 loc) · 898 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
{
"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/*"]
}
},
"include": ["global.d.ts", "cypress/**/*.ts", "./components/**/*.ts", "./components/**/*.tsx", "tools"]
}