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

Is TypeScript support outdated? #2344

Closed
Kinuseka opened this issue Apr 1, 2024 · 1 comment
Closed

Is TypeScript support outdated? #2344

Kinuseka opened this issue Apr 1, 2024 · 1 comment

Comments

@Kinuseka
Copy link

Kinuseka commented Apr 1, 2024

What would you like to discuss?

Upon looking at the docs, it seems that @types/got does not align to whatever is mentioned to the docs. The functions are either missing in types or lacking support in some function.

For example Options does not exist but in docs there is a mention of it.

Upon looking at the source code, it seems it was apparently made for Got v9.6 which is very outdated.

I have been looking around at the docs but it seems there's no mention of TS installations.

Checklist

  • [ /] I have read the documentation.
@sindresorhus
Copy link
Owner

Got ships with its own types.

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