tsconfig.json의 기본 구조
tsconfig.json은 compilerOptions, include, exclude 등을 둡니다.
tsconfig.json은 TypeScript 프로젝트의 컴파일 경계입니다. 어떤 파일을 포함할지, 어떤 JavaScript 문법으로 출력할지, strict 검사를 어디까지 켤지 이 파일에서 결정됩니다.
tsconfig.json의 target, module, strict 옵션이 컴파일 결과와 타입 검사 강도를 어떻게 바꾸는지 확인합니다.
tsconfig.json은 compilerOptions, include, exclude 등을 둡니다.
compilerOptions에는 target, module, strict, jsx, paths처럼 출력 형식과 타입 검사 강도를 바꾸는 설정이 모입니다.
include: 컴파일러가 타입 검사를 수행하고 컴파일할 파일이나 디렉토리 패턴(glob 패턴)의 배열을 지정합니다.
extends 속성을 사용하면 다른 tsconfig.json 파일의 설정을 상속받을 수 있습니다.