36 строки
1.9 KiB
JSON
36 строки
1.9 KiB
JSON
{
|
|
"compilerOptions": {
|
|
|
|
/* Basic Options */
|
|
"target": "es2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
|
|
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
|
|
"lib": ["es2018", "dom"], /* Specify library files to be included in the compilation. */
|
|
"declaration": true, /* Generates corresponding '.d.ts' file. */
|
|
"sourceMap": true, /* Generates corresponding '.map' file. */
|
|
"outDir": "./dist", /* Redirect output structure to the directory. */
|
|
|
|
/* Strict Type-Checking Options */
|
|
"strict": true, /* Enable all strict type-checking options. */
|
|
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
|
|
|
/* Additional Checks */
|
|
"noUnusedLocals": false, /* 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. */
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
/* Module Resolution Options */
|
|
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
|
"esModuleInterop": false /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
|
},
|
|
|
|
"include": [
|
|
"./src/**/*.ts",
|
|
"./lib/**/*.ts",
|
|
"./tests/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"./node_modules/*"
|
|
]
|
|
} |