Compilation ContextThe compilation context is basically just a fancy term for grouping of the files that TypeScript will parse and analyze to determin
@typestype : 우리의 프로젝트에서 라이브러리를 사용했을 때 JS 이기 때문에 Type이 지정되어 있지 않기 때문에 이러한 타입설정을 도와줌.typeRoots에 배열로 추가해서 사용.default 이외에 사용자 임의의 type을 사용할 때 추가하여 사용.Type
type의 시작점이므로 매우 중요!🔥상황에 따른 옵션functionarrayintersectionunion typesDeclaration Merging - interfaceDeclaration Merging - type alias
object를 만드는 blueprint (청사진, 설계도)클래스 이전에 object를 만드는 기본적인 방법은 functionJavascript에도 class는 es6 부터 사용 가능 (접근제어 구분 키워드, runtime 지원 feature 등이 조금 부족)OOP 을
extends ⇒ generic에서는 기존 상속의 의미와 조금 다름type을 적절히 찾아내고 활용하는 시스템.(컴파일 타임의 타입을 정확하게 찾아낼 수 있는 방법