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

Example Implementation in TypeScript #1119

Closed
blubberbo opened this issue Mar 11, 2020 · 2 comments
Closed

Example Implementation in TypeScript #1119

blubberbo opened this issue Mar 11, 2020 · 2 comments

Comments

@blubberbo
Copy link

Hello,

Great package - is there an example of this being implemented in a TypeScript project? It seems all the examples are implementing it in JS. const got = require('got'); for instance doesn't seem very TypeScriptey.

Thank you!

@sindresorhus
Copy link
Owner

You can easily translate the require statement to TypeScript yourself. Are there any other things you're struggling with regarding using Got with TypeScript?

@blubberbo
Copy link
Author

You can easily translate the require statement to TypeScript yourself. Are there any other things you're struggling with regarding using Got with TypeScript?

The following issue is sending me for a wild ride as well: #1118

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