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 泛型 - Yu Blog #8

Open
yvywang opened this issue Feb 28, 2022 · 0 comments
Open

TypeScript 泛型 - Yu Blog #8

yvywang opened this issue Feb 28, 2022 · 0 comments

Comments

@yvywang
Copy link
Owner

yvywang commented Feb 28, 2022

https://yvywang.github.io/blogs/2021/12/15/2021/ts-generics/

概述我们经常在编写函数时,不仅要支持目前定义的数据类型,同时也要能支持未来的数据类型场景下,泛型可以给你想要的约束。

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

No branches or pull requests

1 participant