-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
22 lines (22 loc) · 1.91 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */
"target": "es6" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ /* Control what method is used to detect module-format JS files. */,
"module": "commonjs" /* Specify what module code is generated. */,
"moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */,
"sourceMap": true,
"baseUrl": "." /* Specify the base directory to resolve non-relative module names. */,
"paths": {
"@/*": ["./src/*"]
} /* Specify a set of entries that re-map imports to additional lookup locations. */,
"declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */,
"outDir": "./dist" /* Specify an output folder for all emitted files. */ /* Disable emitting files if any type checking errors are reported. */,
"preserveConstEnums": true /* Disable erasing 'cons // "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. */ /* 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 /* Enable all strict type-checking options. */ /* Skip type checking .d.ts files that are included with TypeScript. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}