-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
28 lines (28 loc) · 1 KB
/
tsconfig.base.json
File metadata and controls
28 lines (28 loc) · 1 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
25
26
27
28
{
"compilerOptions": {
"strict": true,
"target": "esnext",
"module": "esnext",
"moduleResolution": "bundler",
"esModuleInterop": true,
"skipLibCheck": true,
"verbatimModuleSyntax": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": false,
"incremental": true,
"noErrorTruncation": true,
"composite": true,
"declaration": true,
"emitDeclarationOnly": true,
"types": ["node", "bun"],
// Put the .d.ts files output and cache file (tsbuildinfo) in a directory
// that will be ignored by other tools.
"outDir": "${configDir}/node_modules/.cache/ts/out",
"tsBuildInfoFile": "${configDir}/node_modules/.cache/ts/tsbuildinfo",
// A custom condition that can be set to the "exports" filed in package.json
// and it should directs to the source .ts files. This enables the
// jump-to-definition feature in IDEs to function properly.
"customConditions": ["dev-source"]
},
"exclude": ["**/dist/**", "**/node_modules/**"]
}