-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
30 lines (30 loc) · 866 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
{
/** @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,
/* 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,
/* Respect @internal flags */
"stripInternal": true
},
}