Skip to content

Comment on How to Do a TypeScript Conversionparent

Comments

If your code is too complex to type correctly, its probably too complex in general :)

Ha I definitely agree with that. There are some exceptions where you want to do a reasonable thing that the types just aren't expressive enough for, but in general if you can't explain it so the type checker understands then your coworkers won't either.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.