chore: add tsconfig.server.json for bun types and install @types/bun

This commit is contained in:
2026-06-16 00:15:07 -06:00
parent e6e2d0c5cf
commit c6b41f992a
5 changed files with 278 additions and 248 deletions

22
tsconfig.server.json Normal file
View File

@@ -0,0 +1,22 @@
{
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.server.tsbuildinfo",
"target": "es2023",
"lib": ["ES2023"],
"module": "esnext",
"types": ["bun"],
"skipLibCheck": true,
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
"noEmit": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"erasableSyntaxOnly": true,
"noFallthroughCasesInSwitch": true
},
"include": ["server/**/*.ts"]
}