Created
July 12, 2021 14:39
-
-
Save brookslybrand/618f9690e1a1a5853231f9fd416306e1 to your computer and use it in GitHub Desktop.
tsconfig examples
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": { | |
"target": "es5", | |
"lib": ["dom", "dom.iterable", "esnext"], | |
"allowJs": true, | |
"skipLibCheck": true, | |
"strict": false, | |
"forceConsistentCasingInFileNames": true, | |
"noEmit": true, | |
"esModuleInterop": true, | |
"module": "esnext", | |
"moduleResolution": "node", | |
"resolveJsonModule": true, | |
"isolatedModules": true, | |
"jsx": "preserve" | |
}, | |
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], | |
"exclude": ["node_modules"] | |
} |
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": { | |
"lib": ["DOM", "DOM.Iterable", "ES2019"], | |
"esModuleInterop": true, | |
"jsx": "react-jsx", | |
"moduleResolution": "node", | |
"target": "es2019", | |
"strict": true, | |
"skipLibCheck": true, | |
"noImplicitAny": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment