-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
33 lines (28 loc) · 1.56 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
33
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
/* Basic Options */
"target": "ES2020" /* ES2020 should be safe to use in browsers */,
"module": "NodeNext" /* Required for ESM mode */,
"lib": ["ESNext"], // Commonly extra added libs are "DOM" and "DOM.Iterable"
/* Type-Checking Options */
"strict": true /* Enable all strict type-checking options. */,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitOverride": true,
/* Module Resolution Options */
"moduleResolution": "NodeNext" /* Required for ESM mode, forces the .js extension for local imports */,
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
/* Advanced Options */
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
"verbatimModuleSyntax": true,
// only enable the below for performance reasons, or when included libs conflict with other types
// "skipLibCheck": true /* Skip type checking of declaration files. */,
"incremental": true,
"outDir": "./dist",
"tsBuildInfoFile": "./node_modules/.cache/.tsbuildinfo"
},
"include": ["./**/*.ts", "./**/*.cts", "./**/*.mts"]
}