Repository navigation
Type과 Interface의 차이점에 대해서 설명해주세요 #7
klmhyeonwoo
started this conversation in
General
Replies: 2 comments 2 replies
|
type과 interface 모두 TypeScript에서 타입을 정의할 때 사용됩니다. 둘의 핵심적인 차이점은 확장성입니다. interface는 정의한 타입을 extends를 활용하여 확장된 새로운 타입을 만들 수 있다는 점이 가장 큰 차이라고 생각합니다. |
2 replies
|
타입
인터페이스
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Type과 Interface의 차이점에 대해서 설명해주세요
@prgmr99, @klmhyeonwoo
All reactions