Content pfp
Content
@
0 reply
0 recast
0 reaction

Nick Cherry pfp
Nick Cherry
@nickcherry
A handy type for making types with several layers of inheritance and/or unions more readable. Would be great if VSCode's Typescript plugin added a UI toggle, so you could choose to see the short or expanded version of the type. https://www.youtube.com/watch?v=2lCCKiWGlC0
5 replies
1 recast
4 reactions

‍ pfp
‍
@git
viem exports this iirc. Found out cause my editor auto-imported it once
1 reply
0 recast
0 reaction

typeof.eth πŸ”΅ pfp
typeof.eth πŸ”΅
@typeof.eth
type-fest has a Simplify<T> util that does this, as well as a number of other useful type type utils. Worth checking out πŸ€™
0 reply
0 recast
2 reactions

robin pfp
robin
@robin
this dude is a gem
0 reply
0 recast
1 reaction

Phil Cockfield pfp
Phil Cockfield
@pjc
Oh, nice!!! Thanks.
0 reply
0 recast
0 reaction

Greg pfp
Greg
@greg
🫨🫨
0 reply
0 recast
0 reaction