Skip to content
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

TypeScript 브랜드 타입을 활용하여 더 강력한 타입 검사하기 #38

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

llqqssttyy
Copy link
Member

LogRocket 블로그 보다가 우연히 발견한 아티클입니다.
이메일, 이름 등을 모두 string으로 타이핑하면서 의미를 부여하는 방법은 없을까 고민했는데 브랜드 타입이라는 유용한 타입이 있네요.
이번 프로젝트에 엄밀한 타입 선언이 필요하다면 도입해볼만 한 것 같습니다~

@llqqssttyy llqqssttyy self-assigned this Aug 4, 2024
@soi-ha soi-ha self-requested a review August 4, 2024 07:25
Copy link
Member

@soi-ha soi-ha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

렛서 덕분에 브랜드 타입이라는 것을 처음 알게되었어요!
타입스크립트의 활용은 정말 무궁무진하네요..
브랜드 타입에 대해 조금 더 찾아봐야겠어요! 재밌네용 ㅎㅎ

@soi-ha soi-ha merged commit 27d345d into main Aug 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants