DEV Community

Discussion on: Convince me that types are awesome

Collapse
 
foresthoffman profile image
Forest Hoffman

When you use a library with seriously shitty documentation, it's an absolute hell to have no tool to actually display you what x or y method expects or does.

I enjoy writing in TypeScript for this very reason. The documentation can be garbage, but at the very least I can look at the distributed definition files for guidance.