Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add typings for Pipe API #240

Merged
merged 2 commits into from
Jan 1, 2020
Merged

Conversation

ian-craig
Copy link
Contributor

Fixes #239

I've also included some minor bug fixes to other parts of the typings such as objectHash and the constructor options.

I'm not including all functions/props on the classes in your JS files, because I'm not sure which should be exposed publicly and which are intended to be internal helpers. So, I've included everything which I can find referenced in docs, and tried to pull the doc strings from those same docs.

@ian-craig
Copy link
Contributor Author

@benjamine is there a version bump planned soon which you might be able to include this fix in? It would be great to remove some hacky workarounds for this and #236.

Thanks!

@benjamine
Copy link
Owner

@ian-craig thanks, sorry for the delays, I'm catching up with open issues (new year resolution? :) ),
these look good, the only comment maybe is that these seem to change indentation from 2 to 4 spaces? but ack we have no eslint on .ts so, my bad.
other than that, will merge.

@benjamine benjamine merged commit 035f6ea into benjamine:master Jan 1, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pipe API is missing from typings
2 participants