-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
34 lines (30 loc) · 843 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
32
33
34
{
"compilerOptions": {
// enable latest features
"lib": ["esnext", "dom"],
"module": "NodeNext",
"target": "ESNext",
"moduleResolution": "NodeNext",
"noEmit": false,
"moduleDetection": "force",
"jsx": "react", // support JSX
"jsxFactory": "v",
"jsxFragmentFactory": "v.fragment",
"allowJs": true, // allow importing `.js` from `.ts`
"esModuleInterop": true, // allow default imports for CommonJS modules
// best practices
"strict": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"composite": true,
"downlevelIteration": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"rootDir": "lib",
"paths": {
"node_modules/*": ["./node_modules/*"]
}
},
"include": ["./lib"],
"exclude": ["./dist"]
}