43 lines
3.0 KiB
JSON
43 lines
3.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Visit https://aka.ms/tsconfig to read more about this file */
|
|
/* Projects */
|
|
"incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
|
|
/* Language and Environment */
|
|
"target": "ES2021", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
"experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
|
|
"emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
|
|
/* Modules */
|
|
"module": "CommonJS", /* Specify what module code is generated. */
|
|
"rootDir": "./src", /* Specify the root folder within your source files. */
|
|
"moduleResolution": "Node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
|
"baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
|
/* JavaScript Support */
|
|
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
|
|
/* Emit */
|
|
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
|
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
|
"outDir": "./dist", /* Specify an output folder for all emitted files. */
|
|
"removeComments": true, /* Disable emitting comments. */
|
|
/* Interop Constraints */
|
|
"allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
|
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
|
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
|
/* Type Checking */
|
|
"strict": true, /* Enable all strict type-checking options. */
|
|
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
|
"strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
|
"strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
"strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
|
|
"noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
|
|
"noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
|
|
"noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
|
|
"noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
|
|
/* Completeness */
|
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist"
|
|
]
|
|
} |