-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
30 lines (30 loc) · 1.05 KB
/
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
{
"extends": "../../tsconfig",
"compilerOptions": {
"baseUrl": "./src",
"rootDir": "./src",
"target": "ESNext",
"module": "ESNext",
// Running npm i removes packages that are in common between the current directory's
// node_modules and any below. Without typeRoots specified like this, TypeScript climbs
// directories looking for node_modules/@types folders by default.
// We needed to remove react from here below because having two copies was causing problems in
// the jest tests. But we need the types in both places.
"typeRoots": ["./node_modules/@types", "../../node_modules/@types"],
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"forceConsistentCasingInFileNames": true,
"incremental": false,
"isolatedModules": true,
"noEmit": true,
"noImplicitReturns": false,
"skipLibCheck": false,
"useDefineForClassFields": true,
"outDir": "",
"paths": {
"@/*": ["./*"]
}
},
"include": ["src"],
"exclude": ["node_modules"],
"references": [{ "path": "./tsconfig.node.json" }]
}