Skip to content

Commit

Permalink
chore: update tsconfig.json and add @types/bun
Browse files Browse the repository at this point in the history
  • Loading branch information
atahanyorganci committed Jul 27, 2024
1 parent b2e5d88 commit 314957f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 19 deletions.
Binary file modified bun.lockb
Binary file not shown.
52 changes: 33 additions & 19 deletions tsconfig.json
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"]
}

0 comments on commit 314957f

Please sign in to comment.