Created
September 15, 2023 16:36
-
-
Save graffhyrum/3c75b5e10372c5a74d3061d77b9e2af6 to your computer and use it in GitHub Desktop.
Matt Pocock tsconfig defaults
This file contains hidden or 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": { | |
| /* Basic Options */ | |
| esModuleInterop: true, | |
| forceConsistentCasingInFileNames: true, | |
| skipLibCheck: true, | |
| target: "es2022", | |
| verbatimModuleSyntax: true, | |
| allowJs: true, | |
| resolveJsonModule: true, | |
| moduleDetection: "force", | |
| /* Strictness */ | |
| strict: true, | |
| noUncheckedIndexedAccess: true, | |
| /* If transpiling with Typescript */ | |
| moduleResolution: "NodeNext", | |
| module: "NodeNext", | |
| /* If NOT transpiling with Typescript */ | |
| // moduleResolution: "Bundler", | |
| // module: "ESNext", | |
| // noEmit: true, | |
| /* If your code runs in the DOM: */ | |
| lib: ["es2022", "dom"], | |
| /* If your code doesn't run in the DOM: */ | |
| // lib: ["es2022"] | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
source:
https://www.totaltypescript.com/tsconfig-cheat-sheet
https://www.youtube.com/channel/UCswG6FSbgZjbWtdf_hMLaow/community?lb=UgkxiAmtpTW_ehQ1dHdEI_SF5juQki-M8eoj