- 파일(상대) 경로명:
string
- TypeScript 2.1 new Spec
{
...,
"extendsDefinition": {
"properties": {
"extends": {
"description": "Path to base configuration file to inherit from. Requires TypeScript version 2.1 or later.",
"type": "string"
}
}
},
...,
}
ex)
{
"extends": "/base.json",
"compilerOptions": {
}
}
base.json
{
"compilOptions": {
"strict": true
}
}
→ json 파일에서 지정해 줌으로써 tsconfig
파일에서 strict
를 건드릴 필요가 없음
셋 다 설정이 없을 경우 전부 컴파일
- 상대 혹은 절대 경로의 리스트 배열
exclude
보다 강함
glob
패턴(.gitignore와 유사)- include
exclude
보다 약함- 같은 걸 사용하면 .ts / .tsx / .d.ts 만 include (allowJS)
- exclude
- 설정 안하면 4가지(node_modules, bower_components, jspm_packages,
<outDir>
)를default
로 제외 <outDir>
은include
에 있어도 항상 제외
- 설정 안하면 4가지(node_modules, bower_components, jspm_packages,