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

[Question] Typescript Support #473

Open
rhalaly opened this issue Jun 20, 2020 · 3 comments
Open

[Question] Typescript Support #473

rhalaly opened this issue Jun 20, 2020 · 3 comments
Labels
question This issue describes a question that needs a resolution

Comments

@rhalaly
Copy link

rhalaly commented Jun 20, 2020

Do you support Typescript?

@jamesplease jamesplease added the question This issue describes a question that needs a resolution label Jun 20, 2020
@jamesplease
Copy link
Owner

Unfortunately, no. When I wrote this library, I didn’t know how to write TS. If I had created this in 2020 rather than 2016 it would be TS, but it’s just JS.

I don’t plan to make any major updates to this lib, so it’s unlikely that I will refactor it to be TS. But I would review PRs!

@rhalaly
Copy link
Author

rhalaly commented Jun 20, 2020

Thanks. AFAIK, to support typescript you need to add *.d.ts files to your repo / https://github.com/DefinitelyTyped/DefinitelyTyped.

You don't need to write everything from scratch in TS...

@jamesplease
Copy link
Owner

PRs welcome! I don’t have the time, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This issue describes a question that needs a resolution
Projects
None yet
Development

No branches or pull requests

2 participants