-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
30 lines (25 loc) · 1.75 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
{
"compilerOptions": {
"target": "ES6" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"module": "ESNext" /* Specify what module code is generated. */,
"outDir": "./dist", // Redirect output structure to the directory.
"rootDir": "src", // Specify the root directory of input files. Use to control the output directory structure with --outDir.
"baseUrl": ".",
"declaration": true, // Generates corresponding '.d.ts' file
"esModuleInterop": true, // Interop between commonjs and ESModules, useful if consuming dependencies with varying module types
"moduleResolution": "node", // Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6).
"strict": true, // Enable all strict type checking options
"skipLibCheck": true, // Skip type checking of declaration files
/* Experimental */
"experimentalDecorators": true, // Enables experimental support for ES7 decorators
/* Advanced Options */
"removeComments": true, // Remove comments from the output files
"noImplicitAny": true, // Raise error on expressions and declarations with an implied 'any' type
"noUnusedLocals": true, // Report errors on unused locals
"noUnusedParameters": true, // Report errors on unused parameters
"noImplicitReturns": true, // Report an error if not all code paths in function return a value
"noFallthroughCasesInSwitch": true, // Report errors for fallthrough cases in switch statement
"forceConsistentCasingInFileNames": true // Disallow inconsistently-cased references to the same file.
},
"exclude": ["node_modules", "dist", "src/**/*.spec.ts"]
}