chore: clean up tsconfigs and use bun-types

This commit is contained in:
PalmDevs
2024-01-17 22:53:06 +07:00
parent 1d54f5b9f8
commit 680f00722f
6 changed files with 33 additions and 13 deletions

27
tsconfig.json Normal file
View File

@@ -0,0 +1,27 @@
{
"extends": ["@tsconfig/strictest", "bun-types"],
"compilerOptions": {
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"moduleResolution": "Bundler",
"strict": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"useUnknownInCatchVariables": true,
"noPropertyAccessFromIndexSignature": true,
"composite": false,
"resolveJsonModule": true,
"esModuleInterop": true,
"declaration": false,
"allowSyntheticDefaultImports": true,
"isolatedModules": true,
"allowImportingTsExtensions": false
}
}