Generating type-safe Go code from hand-written SQL: https://github.com/kyleconroy/sqlc
Really interesting approach, but I wonder if generated code is the right approach? It's certainly IDE friendly.
The TypeScript docs have IDE-like hover types on all the examples, which is really impressive.
I also like how the second example always shows the type of the relevant part, regardless of mouse position. It's clear and mobile friendly.
Screenshot from
How do you help yourself (and teammates) prevent your JS bundles from becoming too big?
You could expose library size in the IDE! Really interesting approach.