-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
52 lines (52 loc) · 2.13 KB
/
tsconfig.json
File metadata and controls
52 lines (52 loc) · 2.13 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"compilerOptions": {
/* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
"allowSyntheticDefaultImports": true,
/* Force the strict mode */
"alwaysStrict": true,
/* For absolute imports */
"baseUrl": "",
/* Generates corresponding '.d.ts' file. */
"declaration": true,
/* Add sourcemaps for declarations */
"declarationMap": true,
/* Most important thing: babel will handle the actual file generation */
"emitDeclarationOnly": true,
/* Specify library files to be included in the compilation: */
"lib": ["esnext", "es5", "es6"],
/* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"module": "ESNext",
"moduleResolution": "node",
/* Do not emit outputs. Babel will emeit and typescript will do the tooling */
"noEmit": false,
/* Report errors for fallthrough cases in switch statement. */
"noFallthroughCasesInSwitch": true,
/* Report error when not all code paths in function return a value. */
"noImplicitReturns": true,
/* Raise error on 'this' expressions with an implied 'any' type. */
"noImplicitThis": true,
/* Report errors on unused locals. */
"noUnusedLocals": true,
/* Report errors on unused parameters. */
"noUnusedParameters": true,
/* Where the declarations will be written */
"outDir": "dist",
"skipDefaultLibCheck": true,
/* Our custom folder for types */
"typeRoots": ["bolt_types", "node_modules/@types"],
/* Because we build a library */
"skipLibCheck": true,
/* Generates corresponding '.map' file. */
"sourceMap": true,
/* You don't want to be loose! */
"strict": true,
/* Enable strict checking of function types. */
"strictFunctionTypes": true,
/* Enable strict null checks. You have to add "| null" in your type when needed. */
"strictNullChecks": true,
/* 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
"target": "ESNEXT"
},
"include": ["./src/**/*", "bolt_types"],
"exclude": ["./node_modules/**/*", "./lib/**/*"]
}