-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
33 lines (31 loc) · 944 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
29
30
31
32
33
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"lib": ["es6", "dom", "es2016", "es2017"],
"sourceMap": true,
"allowJs": false,
"jsx": "react-native",
"declaration": true,
"declarationMap": true,
"outDir": "dist",
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"removeComments": false,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true, //함수파라미터 타입체크 강하게
"strictPropertyInitialization": true, //class constructor 작성시 타입체크 강하게
"noImplicitThis": true,
"noUnusedLocals": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true, //switch문 이상하면 에러내기
"skipLibCheck": true,
"allowSyntheticDefaultImports": true
// "types": [],
// "typeRoots": ["./node_modules/@types"]
},
"include": ["src"],
"exclude": ["node_modules", "Develop", "dist"]
}