-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
28 lines (28 loc) · 1000 Bytes
/
tsconfig.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
{
"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": 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,
// Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
"allowSyntheticDefaultImports": true,
"jsx": "react-native",
"sourceMap": true,
"noImplicitReturns": true,
"skipLibCheck": true,
"typeRoots": ["./src/typings", "node_modules/@types"],
"lib": ["es7"]
},
"exclude": ["node_modules"],
"include": ["src/**/*"]
}