-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,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. */, | ||
"compilerOptions": { | ||
"target": "ES6" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, | ||
"module": "ESNext" /* Specify what module code is generated. */, | ||
|
||
"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). | ||
"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": ".", | ||
|
||
"strict": true, // Enable all strict type checking options | ||
"skipLibCheck": true, // Skip type checking of declaration files | ||
"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). | ||
|
||
/* Experimental */ | ||
"experimentalDecorators": true, // Enables experimental support for ES7 decorators | ||
"strict": true, // Enable all strict type checking options | ||
"skipLibCheck": true, // Skip type checking of declaration files | ||
|
||
/* 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"] | ||
/* 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"] | ||
} |