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

RFC: typescript #56

Open
cdaringe opened this issue May 8, 2024 · 1 comment
Open

RFC: typescript #56

cdaringe opened this issue May 8, 2024 · 1 comment

Comments

@cdaringe
Copy link

cdaringe commented May 8, 2024

problem

i want types, but there are none

discussion

would you be willing to accept a js to ts migration?

@leoek
Copy link
Owner

leoek commented Jun 5, 2024

Hi @cdaringe,
I guess, but I am not sure how useful a rewrite in ts would be for this library since we try to accept many different parameters due to differing browser and node implementations.

Also types are available here: https://github.com/leoek/fetch-to-curl/blob/master/types/main.d.ts

How are you installating and importing the package? When I last checked the types were properly included in the package.

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

2 participants