Login
From:
effectivetypescript.com
(Uncensored)
subscribe
Using infer to unpack nested types
https://effectivetypescript.com/2023/11/29/infer-deep/
links
backlinks
TypeScript's infer keyword can infer quite a bit more than you might expect. It's extremely effective at extracting types from the sort of nested structures that you might get from codegen or an API specification.
Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Roast topics
Find topics
Find it!