30 lines
1.8 KiB
JSON
30 lines
1.8 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es6",
|
|
"module": "commonjs",
|
|
"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. */,
|
|
|
|
/* Strict Type-Checking Options */
|
|
"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. */
|
|
|
|
/* Additional Checks */
|
|
// "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. */
|
|
|
|
/* Module Resolution Options */
|
|
"moduleResolution":
|
|
"node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
|
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
|
}
|
|
}
|