24 lines
1.5 KiB
JSON
24 lines
1.5 KiB
JSON
{
|
|
// "include": ["src/**/*", "index.ts"],
|
|
"compilerOptions": {
|
|
/* Language and Environment */
|
|
"target": "es2017" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
|
|
/* Modules */
|
|
"module": "commonjs" /* Specify what module code is generated. */,
|
|
"rootDir": "./" /* Specify the root folder within your source files. */,
|
|
// "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
|
"baseUrl": "./src" /* Specify the base directory to resolve non-relative module names. */,
|
|
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
|
|
"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. */,
|
|
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
|
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
|
|
|
|
"strict": true,
|
|
|
|
/* Completeness */
|
|
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
}
|
|
}
|