-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
32 lines (32 loc) · 1.38 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
23
24
25
26
27
28
29
30
31
32
{
"extends": "@tsconfig/strictest/tsconfig.json",
"compilerOptions": {
"module": "Node16",
"target": "ES2021",
/* Whenever incremental compilation is enabled */
"incremental": true,
/* File containing saved information about incremental compilation */
"tsBuildInfoFile": "cache/tsc.json",
/* Whenever sourcemaps should be made for emitted JavaScript files */
"sourceMap": true,
/* Whenever emit declaration files */
"declaration": true,
/* Directrories in which are placed all emitted files */
"outDir": "./dist/", //.js
"declarationDir": "./types/", //.d.ts
"rootDir": "./src/", //.ts
/* Replace a set of core libraries. */
"lib": ["ES2022", "DOM.Iterable"],
/* Limit module resolution to project's path only */
"typeRoots": ["./node_modules/@types"],
/* Enforce consistent casing for imported module names */
"forceConsistentCasingInFileNames": true,
/* Use *nix end-of-line character for emitted files */
"newLine": "lf",
/* Do not emit anything when there's an error in source files */
"noEmitOnError": true,
/* Disable verbatim module syntax, it makes exporting types complex without any advantages. */
"verbatimModuleSyntax": false
},
"files": ["src/lib.ts"]
}