unsplash / pipe-ts

33 stars 4 forks source link

More overloads please? #9

Closed devanshj closed 1 year ago

devanshj commented 3 years ago

I was using this module (thanks for it btw!) and hit the wall when I found myself requiring more than 9 overloads. I don't really have an opinion on how to solve this concretely but I think having more overloads does no harm. In this PR I'm generating 25 (the max we can go without changing naming conventions) which I guess should be more than enough. Let me know what you think!

How to test - run $ node generate --9 and index.ts should have no diff compared to master apart from /* tslint:disable:max-file-line-count */.

devanshj commented 1 year ago

Closing due to inactivity, feel free to reopen.