if you hate seeing
Promise<{ id: string; name: string }>everyy time you hover over a function, there is a way to strip that extra layer and see the
actual data instead. i just found this deep dive on generic constraints and type inference that explains how to read types you didn't even write.
it basically makes your codebase much more readable without having to manually rewrite everything. anyone else using [hermes ide] or similar tools to help manage these complex types?
found this here:
https://dev.to/gabrielanhaia/generic-constraints-and-infer-reading-the-types-you-did-not-write-903