Skip to content

Instantly share code, notes, and snippets.

@cecilemuller
Last active July 31, 2025 22:53
Show Gist options
  • Save cecilemuller/80fed1b963171ca4e117f6d1e2a4a5a7 to your computer and use it in GitHub Desktop.
Save cecilemuller/80fed1b963171ca4e117f6d1e2a4a5a7 to your computer and use it in GitHub Desktop.
Typescript 5.8+ Config
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "esnext",
"module": "nodenext",
"moduleDetection": "force",
"newLine": "LF",
"strict": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noEmitOnError": true,
"isolatedModules": true,
"allowImportingTsExtensions": true,
"rewriteRelativeImportExtensions": true,
"verbatimModuleSyntax": true,
"erasableSyntaxOnly": true,
"outDir": "dist",
"noEmit": true,
// Only for Vite
// "allowArbitraryExtensions": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment