forked from velut/query-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update
tsconfig.json
and add @types/bun
- Loading branch information
1 parent
b2e5d88
commit 314957f
Showing
2 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,39 @@ | ||
// See https://www.totaltypescript.com/tsconfig-cheat-sheet. | ||
{ | ||
"compilerOptions": { | ||
// Base options. | ||
"esModuleInterop": true, | ||
"skipLibCheck": true, | ||
"target": "es2022", | ||
"allowJs": true, | ||
// TypeChecking | ||
"allowUnreachableCode": false, | ||
"allowUnusedLabels": false, | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitOverride": true, | ||
"noImplicitReturns": true, | ||
"noImplicitThis": true, | ||
"noUncheckedIndexedAccess": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"strict": true, | ||
"useUnknownInCatchVariables": true, | ||
// Modules | ||
"baseUrl": ".", | ||
"module": "Preserve", | ||
"moduleResolution": "Bundler", | ||
"paths": { | ||
"~/*": ["./src/*"] | ||
}, | ||
"resolveJsonModule": true, | ||
"moduleDetection": "force", | ||
// Emit | ||
"noEmit": true, | ||
// Interop Constraints | ||
"allowSyntheticDefaultImports": true, | ||
"esModuleInterop": true, | ||
"isolatedModules": true, | ||
"verbatimModuleSyntax": true, | ||
// Strictness. | ||
"strict": true, | ||
"noUncheckedIndexedAccess": true, | ||
"noImplicitOverride": true, | ||
// Building a library. | ||
"declaration": true, | ||
// Transpiling with a bundler. | ||
"module": "preserve", | ||
"noEmit": true, | ||
// No DOM. | ||
"lib": ["es2022"] | ||
} | ||
// Language and Environment | ||
"lib": ["ESNext"], | ||
"moduleDetection": "force", | ||
"target": "ESNext", | ||
// Completeness | ||
"skipLibCheck": true | ||
}, | ||
"include": ["build.config.ts", "src/**/*.ts"], | ||
"exclude": ["node_modules"] | ||
} |