Content pfp
Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
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 pfp
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 đŸ› ïž pfp
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