-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
21 lines (21 loc) · 1.24 KB
/
tsconfig.json
File metadata and controls
21 lines (21 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"compilerOptions": {
"declaration": true,
"target": "es6" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"module": "commonjs" /* Specify what module code is generated. */,
"rootDir": "./src" /* Specify the root folder within your source files. */,
"baseUrl": "./src" /* Specify the base directory to resolve non-relative module names. */,
"typeRoots": [
"./node_modules/@types",
"./types"
] /* Specify multiple folders that act like `./node_modules/@types`. */,
"outDir": "./lib" /* Specify an output folder for all emitted files. */,
"newLine": "lf" /* Set the newline character for emitting 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. */,
"noUnusedLocals": true /* Enable error reporting when a local variables aren't read. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"exclude": ["tests", "lib", "jest.config.ts"]
}