-
-
Notifications
You must be signed in to change notification settings - Fork 205
Expand file tree
/
Copy pathtsconfig.json
More file actions
26 lines (26 loc) · 806 Bytes
/
Copy pathtsconfig.json
File metadata and controls
26 lines (26 loc) · 806 Bytes
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",
"module": "commonjs",
// rootDir is explicit so output keeps the lib/ and test/ layout; without
// it tsc infers the common source root and flattens everything
"rootDir": ".",
"outDir": "dist",
"sourceMap": true,
"declaration": false,
"removeComments": false,
"noImplicitAny": true,
"experimentalDecorators": true,
"isolatedModules": true,
"skipLibCheck": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"lib": ["ESNext"],
"strict": false
},
// test/type-fixtures has its own strict tsconfig and is compiled by the test
// that asserts on it; building it here would emit a testless file into dist
// and drop the strictness those assertions depend on
"include": ["lib/", "test/"],
"exclude": ["test/type-fixtures/"]
}