/users
/posts
/slides
/apps
/books
mysetting
/users
/posts
/slides
/apps
/books
2022-12-24 07:41
Taesung Lee
[ts] Literal, Union, Intersection Types
1. Literal Types
=> const는 값을 변경할 수 없기 때문에 "Tom"으로 특정됨
=> let은 바꿀 수 있기에 string으로
2. 식별가능한 Union Type
interface Car {
name: ...
더보기
2taesung.log
0
0
0
댓글
댓글 달기
About
Badge
Contact
Activity
Terms of service
Privacy Policy