-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
54 lines (49 loc) · 1.51 KB
/
tsconfig.json
File metadata and controls
54 lines (49 loc) · 1.51 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ESNext",
"allowJs": true,
"checkJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"forceConsistentCasingInFileNames": true,
"rootDir": "./",
"strict": true,
"noUncheckedIndexedAccess": true,
// "noFallthroughCasesInSwitch": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false,
/* If NOT transpiling with 'tsc': */
"noEmit": true, // Prevent 'tsc' from generating output files if you only use 'bun run'
/* If transpiling with 'tsc': */
// "outDir": "./dist", // Specify output directory for compiled JS
// "sourceMap": true, // Generate source maps for debugging
"module": "ESNext",
"moduleResolution": "bundler",
// "baseUrl": ".",
// "paths": {},
"jsx": "react-jsx", // Required by Bun: use "react-jsx" or "preserve"
"lib": [
"ESNext", // Include latest ECMAScript features
// Add "DOM" if you use browser APIs (Bun polyfills many)
// "DOM",
// "DOM.Iterable"
],
"types": [
"bun-types",
"node", // if using Node.js compatibility APIs (like 'fs', 'path' in our example)
]
},
"include": [
"index.ts",
"server/**/*.ts"
],
"exclude": [
"node_modules",
"userData",
"www"
]
}