-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
24 lines (22 loc) · 1.14 KB
/
tsconfig.json
File metadata and controls
24 lines (22 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"extends": "@tsconfig/node16/tsconfig.json",
"compilerOptions": {
"rootDir": "src", /* Specify the root folder within your source files. */
"resolveJsonModule": true, /* Enable importing .json files. */
"outDir": "dist", /* Specify an output folder for all emitted 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. */
/* Type Checking */
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
// Generate d.ts files
"declaration": true, /* Generates corresponding '.d.ts' file. */
},
"exclude": [
"node_modules",
"dist",
],
"ts-node": {
// Tell ts-node CLI to install the --loader automatically, explained below
"esm": true
}
}