摘要: The looseness of Object.keys can be a real pain point when using TypeScript. Luckily, it's pretty simple to create a tighter version using generics an 阅读全文
posted @ 2022-10-04 14:16 Zhentiw 阅读(17) 评论(0) 推荐(0) 编辑
摘要: Type helpers change the game when it comes to types in your codebase. They help TypeScript infer more from your code - and make your types a lot more 阅读全文
posted @ 2022-10-04 14:06 Zhentiw 阅读(5) 评论(0) 推荐(0) 编辑