Created
May 20, 2019 02:49
-
-
Save kilgarenone/da5fa979561923cece14d406a03d44d0 to your computer and use it in GitHub Desktop.
tsconfig.json for type-checking in separate process
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
Show hidden characters
{ | |
"compilerOptions": { | |
// Target latest version of ECMAScript. | |
"target": "esnext", | |
// Search under node_modules for non-relative imports. | |
"moduleResolution": "node", | |
// Process & infer types from .js files. | |
"allowJs": true, | |
// Don't emit; allow Babel to transform files. | |
"noEmit": true, | |
// Enable strictest settings like strictNullChecks & noImplicitAny. | |
// "strict": true, | |
// Disallow features that require cross-file information for emit. | |
"isolatedModules": true, | |
// Import non-ES modules as default imports. | |
"esModuleInterop": true, | |
"sourceMap": true, | |
"jsx": "react", | |
// Comment this out if you aren't using Preact | |
"jsxFactory": "h" | |
}, | |
"include": ["src"], | |
"exclude": ["node_modules", "build"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment