Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction
Darryl Yeo đ ïž
@darrylyeo
So I was upgrading Hubble to @viem v2.0, and some wrapper class instances were giving *super gnarly* deeply-nested TypeScript errors in some unexpected places. Of course, viem's internal conditional types run so deep that it's impossible to interpret the root cause of the mismatch just by looking at one of these đ€Ș
4 replies
0 recast
31 reactions
Wasif Iqbal
@wazzymandias.eth
the massive object to object comparison with one slightly different attribute, that has its own deeply nested structure has bit me in the past viem is great but once you go slightly off the beaten path it gets murky real quick
1 reply
0 recast
2 reactions
Darryl Yeo đ ïž
@darrylyeo
Yeah, Iâd say itâs a glaring weakness in the current state of TypeScript tooling more than anything. It just canât keep up with the sheer wizardry of @awkweb and @jxom đ https://warpcast.com/darrylyeo/0x7b315658
0 reply
0 recast
1 reaction