Created
April 20, 2024 23:32
-
-
Save jeremy-code/85b2e552b56f36c3b6a21ee3dea4893b to your computer and use it in GitHub Desktop.
TSConfig Cheat Sheet with Comments
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
{ | |
"compilerOptions": { | |
/* Visit https://aka.ms/tsconfig.json to read more about this file */ | |
/* Projects */ | |
"target": "ES2022", | |
"lib": ["ES2022", "DOM", "DOM.Iterable"], | |
"moduleDetection": "force", | |
/* Modules */ | |
"module": "Preserve", | |
"resolveJsonModule": true, | |
/* JavaScript Support */ | |
"allowJs": true, | |
/* Emit */ | |
"noEmit": true, | |
/* Interop Constraints */ | |
"isolatedModules": true, | |
"esModuleInterop": true, | |
/* Type Checking */ | |
"strict": true, | |
"noUncheckedIndexedAccess": true, | |
/* Completeness */ | |
"skipLibCheck": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Default output of
tsc --init