27 lines
1.0 KiB
JSON
27 lines
1.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"module": "commonjs",
|
|
"rootDir": "./src",
|
|
"outDir": "./dist",
|
|
"removeComments": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": true,
|
|
"alwaysStrict": true,
|
|
"skipLibCheck": true,
|
|
|
|
"noImplicitAny": true, // any타입 금지 여부
|
|
"strictNullChecks": true, // null, undefined 타입에 이상한 짓 할시 에러내기
|
|
"strictFunctionTypes": true, // 함수파라미터 타입체크 강하게
|
|
"strictPropertyInitialization": true, // class constructor 작성시 타입체크 강하게
|
|
"noImplicitThis": true, // this 키워드가 any 타입일 경우 에러내기
|
|
|
|
"noUnusedLocals": true, // 쓰지않는 지역변수 있으면 에러내기
|
|
"noUnusedParameters": true, // 쓰지않는 파라미터 있으면 에러내기
|
|
"noImplicitReturns": true, // 함수에서 return 빼먹으면 에러내기
|
|
"noFallthroughCasesInSwitch": true // switch문 이상하면 에러내기
|
|
},
|
|
"include": [ "src" ]
|
|
}
|