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

Provide .d.ts types #82

Open
multimeric opened this issue Mar 1, 2022 · 3 comments
Open

Provide .d.ts types #82

multimeric opened this issue Mar 1, 2022 · 3 comments

Comments

@multimeric
Copy link

I notice this package uses flow, so I wonder if, for each release, we could generate a .d.ts file using something like https://github.com/Khan/flow-to-ts, and then include that in the npm package. This would allow easy integration with typescript projects.

@sgrove
Copy link
Contributor

sgrove commented Mar 1, 2022

Happy to switch over I think, but it's not a priority right now. I've tried flow-to-ts in the past, be never got it to quite work!

@multimeric
Copy link
Author

Sounds good, I'll try to have a look at porting it manually at some point. I can't get flow-to-ts to work either, and it's quite a large file so manually porting isn't trivial.

@haase1020
Copy link

Are there plans to rewrite this package using TypeScript instead of Flow? If so, I would love to help in any way I can!

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

No branches or pull requests

3 participants