-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
27 lines (27 loc) · 950 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
{
"extends": "expo/tsconfig.base",
"compilerOptions": {
"allowSyntheticDefaultImports": true,
// That's a fake setting and it doesn't work in RN since RN 0.57, as all transpiling is done by `module-resolver` babel plugin.
// See https://github.com/react-native-community/react-native-template-typescript/issues/23#issuecomment-426533599
// https://devblogs.microsoft.com/typescript/typescript-and-babel-7/
// It is however needed to enable module inspection and links in VSCode.
"baseUrl": "./app",
// Don't emit; allow Babel to transform files.
"esModuleInterop": true,
"jsx": "react-native",
"lib": ["esnext"],
"module": "es2015",
"moduleResolution": "node",
"noEmit": true,
"paths": {
"*": ["*", "*.ios", "*.android"]
},
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "esnext",
},
// "include": ["app"],
"exclude": ["node_modules"]
}