-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.types.json
28 lines (28 loc) · 1008 Bytes
/
tsconfig.types.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//https://github.com/microsoft/TypeScript-Babel-Starter/blob/master/tsconfig.json
//https://www.typescriptlang.org/docs/handbook/compiler-options.html
//https://github.com/babel/babel/issues/9668#issuecomment-474628509
{
"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": false,
// Don't emit; allow Babel to transform files.
"noEmit": false,
// Enable strictest settings like strictNullChecks & noImplicitAny.
"strict": true,
// Disallow features that require cross-file information for emit.
"isolatedModules": false,
// Import non-ES modules as default imports.
"esModuleInterop": true,
// allow jsx syntax
"jsx": "preserve",
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"declarationDir": "lib/"
},
"include": ["src/**/*"]
}