-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
20 lines (20 loc) · 1.68 KB
/
tsconfig.json
File metadata and controls
20 lines (20 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"compilerOptions": {
"target": "ES5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"lib": [ "ES2015", "ES2016", "ESNext", "DOM", "DOM.Iterable" ], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
"module": "es2020", /* Specify what module code is generated. */
"moduleResolution": "node",
"outDir": "./dist", /* Specify how TypeScript looks up a file from a given module specifier. */
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
// "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
"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. */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied `any` type.. */
"typeRoots": ["./node_modules/@types","./types"],
"declaration": true,
"allowSyntheticDefaultImports": true
},
"include": ["./src/**/*"],
"exclude": ["node_modules", "*.js", "dist", "**/*.js"]
}