-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
31 lines (31 loc) · 919 Bytes
/
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
{
/** @see https://www.totaltypescript.com/tsconfig-cheat-sheet#quickstart */
"include": ["src"],
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"verbatimModuleSyntax": true,
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
/* Strictness */
"strict": true,
// "noUncheckedIndexedAccess": true,
/* If transpiling with TypeScript: */
"moduleResolution": "NodeNext",
"module": "NodeNext",
"rootDir": "src",
"outDir": "dist",
"sourceMap": true,
/* If your code runs in the DOM: */
"lib": ["es2022", "dom", "dom.iterable"],
/* If you're building for a library: */
"declaration": true,
/* If you're building for a library in a monorepo: */
"declarationMap": true,
/* Don't advertise @private properties */
"stripInternal": true
},
}