2020-03-24 18:43:58 +03:00
|
|
|
{
|
|
|
|
"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). */
|
2020-04-02 14:54:51 +03:00
|
|
|
"esModuleInterop": false /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
2020-03-24 18:43:58 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
"include": [
|
|
|
|
"./src/**/*.ts",
|
|
|
|
"./lib/**/*.ts",
|
|
|
|
"./tests/**/*.ts"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"./node_modules/*"
|
|
|
|
]
|
|
|
|
}
|