sindresorhus / got

🌐 Human-friendly and powerful HTTP request library for Node.js
MIT License
14.31k stars 936 forks source link

Is TypeScript support outdated? #2344

Closed Kinuseka closed 7 months ago

Kinuseka commented 7 months ago

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

sindresorhus commented 7 months ago

Got ships with its own types.