Last active
January 25, 2025 14:19
-
-
Save cecilemuller/80fed1b963171ca4e117f6d1e2a4a5a7 to your computer and use it in GitHub Desktop.
Typescript Config
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
Show hidden characters
{ | |
"$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, | |
"lib": ["es2024", "dom"], | |
// (TS 5.8) Warn against syntaxes not compatible with Node Types Stripping: | |
// https://github.com/microsoft/TypeScript/pull/61011 | |
// "erasableSyntaxOnly": true, | |
// Only for Vite | |
// "allowArbitraryExtensions": true, | |
// "noEmit": true, | |
// Only for TSC transpile | |
// "outDir": "lib", | |
// "declaration": true, | |
// "sourceMap": true, | |
// "removeComments": true, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment