-
Notifications
You must be signed in to change notification settings - Fork 0
[Week5] seongho #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Week5] seongho #34
Conversation
doitchuu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5장이 정리할 내용이 은근히 많았네요 😅
어려운 부분도 많았을텐데 코드로 직접 구현해보시면서 이해하시는 게 인상 깊었어요..!
고생 많으셨습니다. 자잘한 오타만 수정 부탁드려욥
CH05_타입_활용하기/5.1_조건부_타입/seongho.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오타가 있어용 🥲
CH05_타입_활용하기/5.1_조건부_타입/seongho.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `extends`는 ts에서 타입을 확장할 떄와 타입을 조건부로 설정할 때 사용되며, 제네릭 타입에서는 ***한정자*** 역할로도 사용됨. | |
| `extends`는 ts에서 타입을 확장할 때와 타입을 조건부로 설정할 때 사용되며, 제네릭 타입에서는 ***한정자*** 역할로도 사용됨. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 근데, 일반적으로 객체를 열틴 타입으로(일반 객체로) 사용하게 되면 해당 객체가 return하는 타입은 any가 되버림. <br /> | |
| 근데, 일반적으로 객체를 열린 타입으로(일반 객체로) 사용하게 되면 해당 객체가 return하는 타입은 any가 되버림. <br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오우 정리를 잘 해주셨군용..!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
실제로 구현하신 예시가 있어서 더 좋네요 👍
CH05_타입_활용하기/5.1_조건부_타입/seongho.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분 너무 어렵네여 🤯 PickOne 유틸리티 부분이랑 복습하면서 다시 봐야할 것 같아욥 ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ### NonNullable 타입 검사 합루를 사용해서 간편하게 타입 가드 하기 | |
| ### NonNullable 타입 검사 함수를 사용해서 간편하게 타입 가드 하기 |
close #14
5장 정리 완료했습니다!
5.3장에 있는PickOne커스텀 유틸리티 타입을 구현하는 예제는 따로 정리하지는 않았습니다..!+
요즘 비가오면 다음날 날씨가 180도 바뀌어버리는데, 감기 조심하세요!
이번주도 고생하셨습니당👻