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 的增删查改 #324

Open
xxleyi opened this issue Nov 6, 2021 · 0 comments
Open

一文说透 TypeScript 的增删查改 #324

xxleyi opened this issue Nov 6, 2021 · 0 comments

Comments

@xxleyi
Copy link
Owner

xxleyi commented Nov 6, 2021

都说「增删查改」low,但「增删查改」其实是基本诉求,程序世界的高楼大厦都是基于「增删查改」。

但据我观察,熟练的对 TypeScript 类型进行「增删查改」这项技能,好像并没那么容易被掌握,市面上也没看见有人专门从这个「接地气」的角度写什么教程,看到的教程大部分都是动辄「泛型」,「重载」,「协变」,「逆变」。

本文的目标就是说透「增删查改」,让你自由驰骋 TS 类型世界。

最基础的「增删查改」:
如何增。
如何删。
如何查。
如何改。

进阶版增删查改:
批量和嵌套。

待续。。。。

@xxleyi xxleyi added this to To do in React+TS via automation Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant