-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
28 lines (28 loc) · 753 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
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
// add Bun type definitions
"types": ["bun-types"],
// enable latest features
"lib": ["ESNext"],
"module": "esnext",
"target": "esnext",
// if TS 5.x+
"moduleResolution": "bundler",
"sourceMap": true,
"noEmit": false,
"allowImportingTsExtensions": false,
"moduleDetection": "force",
"resolveJsonModule": true,
"isolatedModules": true,
// if TS 4.x or earlier
// "moduleResolution": "nodenext",
// best practices
"strict": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"composite": true,
"downlevelIteration": true,
"allowSyntheticDefaultImports": true
}
}