-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
31 lines (31 loc) · 1013 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
28
29
30
31
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"baseUrl": ".",
"rootDir": "./src",
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"strict": false,
"jsx": "react",
"jsxFactory": "QuarkElement.h",
"sourceMap": false,
"removeComments": true,
// https://wayou.github.io/2020/05/15/TypeScript-%E9%A1%B9%E7%9B%AE-rootDir-%E8%AE%BE%E7%BD%AE%E5%8F%8A%E6%A0%B9%E7%9B%AE%E5%BD%95%E4%B9%8B%E5%A4%96%E8%B5%84%E6%BA%90%E7%9A%84%E5%BC%95%E7%94%A8/
"resolveJsonModule": false,
"esModuleInterop": true,
"skipLibCheck": true,
"experimentalDecorators": true,
"outDir": "lib",
"declarationDir": "./lib",
"declaration": true /* 生成相关的 '.d.ts' 文件。 */,
"emitDeclarationOnly": true /* 只生成声明文件,不生成 js 文件*/,
"lib": ["esnext", "dom"],
"paths": {
"@/*": ["src/*"]
}
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules"]
}