Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Added typescript definitions and jsdocs #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Inrixia
Copy link

@Inrixia Inrixia commented Mar 4, 2021

This was actually already done in this pull request: #32
But it was never merged for some reason. I've checked and the types are all still up to date.

@hlovdal
Copy link

hlovdal commented Sep 18, 2021

This would be extremely useful. @gagle are there any obstacles to merging this?

@KevinGhadyani-Okta
Copy link

Is it possible we could get this merged?

@KevinGhadyani-Okta
Copy link

KevinGhadyani-Okta commented Feb 15, 2024

After going through this again, it looks like you need to type the callback functions. I'd expect it to be (error: Error, ...) rather than any for that type.

@KevinGhadyani-Okta
Copy link

Also, there's a use case for parse taking a source and callback without options. Currently, the type doesn't allow for options to be optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants