4 ms·
> Types add a lot of code to your library. When first attempting to contribute to a project, one must grok the application logic as well as the type logic. To
by darepublic 4y ago
> Types add a lot of code to your library. When first attempting to contribute to a project, one must grok the application logic as well as the type logic.
To me types are very welcome. It's much easier to grok a function when I can see a type interface for it. Some libs do this better than others. Some libs have types as an after thought and you get confronted with something like:
```
export type Parameters = {[key: string]: any}
```
which is basically a giant FU and is as helpful as no type. But to me, well maintained type api is a great boon to both contributors and end developers.