You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.7 KiB
27 lines
1.7 KiB
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"target": "es6",
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
// Lints and checks.
|
|
"allowJs": true,
|
|
"declaration": false, // Generates corresponding '.d.ts' file.
|
|
"sourceMap": true, // Generates corresponding '.map' file.
|
|
"removeComments": false, // Do not emit comments to output.
|
|
"importHelpers": true, // Import emit helpers from 'tslib'.
|
|
"downlevelIteration": true, // Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'.
|
|
"strict": true, // Enable all strict type-checking options.
|
|
"noImplicitAny": true, // Raise error on expressions and declarations with an implied 'any' type.
|
|
"strictNullChecks": true, // Enable strict null checks.
|
|
"strictFunctionTypes": true, // Enable strict checking of function types.
|
|
"strictPropertyInitialization": true, // Enable strict checking of property initialization in classes.
|
|
"noImplicitThis": true, // Raise error on 'this' expressions with an implied 'any' type.
|
|
"alwaysStrict": true, // Parse in strict mode and emit "use strict" for each source file.
|
|
"noUnusedLocals": true, // Report errors on unused locals.
|
|
"noUnusedParameters": true, // Report errors on unused parameters.
|
|
"noImplicitReturns": true, // Report error when not all code paths in function return a value.
|
|
"noFallthroughCasesInSwitch": true, // Report errors for fallthrough cases in switch statement.
|
|
}
|
|
}
|