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

stories/satisfies-safe-upcasting #10

Open
hiddenest opened this issue Feb 18, 2024 · 5 comments
Open

stories/satisfies-safe-upcasting #10

hiddenest opened this issue Feb 18, 2024 · 5 comments
Labels

Comments

@hiddenest
Copy link

satisfies: 안전한 업캐스팅을 통해 더 안전한 코드작성을 도와주는 새로운 키워드(TypeScript 4.9)

https://engineering.ab180.co/8e7bdeba-6de9-4246-b1be-7188466d5fa2

@hiddenest
Copy link
Author

satisfies를 어떻게 활용할 수 있을지 고민중이었는데 많은 도움이 되었습니다.
정말 감사합니다!

This comment was made by Disqus. 2023-01-18 10:57:02 hooni(hooni)

@hiddenest
Copy link
Author

저... upcast라는 말이 헷갈리게 되는데 타입을 제한하는데 왜 upcast인가요?... downcast 아닌가요?

This comment was made by Disqus. 2023-02-07 11:03:20 이인호(이인호)

@hiddenest
Copy link
Author

Storybook 예시 Button 컴포넌트에 satisfies 키워드가 있어 검색하던 중 이 포스팅에 방문하게 되었습니다. 안전한 upcast를 할 때 사용하면 유용한 키워드였군요. 감사합니다!

This comment was made by Disqus. 2023-08-18 04:07:35 Seungrok Yoon(Seungrok Yoon)

@hiddenest
Copy link
Author

글 감사히 읽었습니다. :)

This comment was made by Disqus. 2024-02-14 03:05:22 Thiporia(Thiporia)

@hiddenest hiddenest changed the title 8e7bdeba-6de9-4246-b1be-7188466d5fa2 stories/satisfies-safe-upcasting Feb 18, 2024
Copy link

뭔가 const variable1: { grade: string } = { grade: "a", score: 90 } 여기서 부터 오류인데

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants