-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
44 lines (44 loc) · 1.62 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"compilerOptions": {
// Process & infer types from .js files.
"allowJs": true,
// Forbid default export
"allowSyntheticDefaultImports": false,
// Base directory to resolve non-relative module names.
"baseUrl": "./src",
// Import non-ES modules as default imports.
"esModuleInterop": true,
// Enables experimental support for ES7 decorators.
"experimentalDecorators": true,
// Disallow features that require cross-file information for emit.
"isolatedModules": true,
// Specify JSX code generation
"jsx": "preserve",
// Specify library file to be included in the compilation.
"lib": ["dom", "es2015", "es2017"],
// Specify module code generation
"module": "esnext",
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
// Don't emit; allow Babel to transform files.
"noEmit": true,
// Report errors on unused locals.
"noUnusedLocals": true,
// Report errors on unused parameters.
"noUnusedParameters": true,
// Do not erase const enum declarations in generated code.
"preserveConstEnums": true,
// Do not emit comments to output.
"removeComments": false,
// Generates corresponding '.map' file.
"sourceMap": true,
// Enable strictest settings like strictNullChecks & noImplicitAny.
"strict": true,
// Target latest version of ECMAScript.
"target": "esnext",
// Type declaration files to be included in compilation.
"types": ["node"],
},
// Specifies a list of glob patterns that match files to be included in compilation.
"include": ["./src/**/*", "./pages/**/*"]
}