/users
/posts
/slides
/apps
/books
mysetting
/users
/posts
/slides
/apps
/books
2021-12-26 23:50
typescript에서 여러 개의 type을 붙이고 싶다면
Intersection Types를 쓰면 된다.
type을 & 로 붙이면 된다.
굳이 타입을 여러 번 선언할 필요가 없다면
type BroadcastDisplay = {
no: number;
title: string;
...
더보기
Never test
0
0
0
댓글
댓글 달기
About
Badge
Contact
Activity
Terms of service
Privacy Policy