TypeScript

1.Union Type / Intersection Type

post-thumbnail

2.Enum(Enumeration, 열거형)

post-thumbnail

3.타입 추론 Type Inference

post-thumbnail

4.타입 단언 Type Assertion

post-thumbnail

5.public 메소드로 변경하는 방법과 인터페이스를 정의하여 사용하는 방법의 차이

post-thumbnail