-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Typescript definition file #503
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
Comments
+1 |
+1 👍 |
+1 |
yes absolutely! this project really needs a typescript definition file.... |
I took a stab at generating Typescript definitions based on the endpoint data from Google's discovery API. Disclaimer: I'm fairly new to all things Node & Typescript. Caveat emptor. Anyhow, typings available in the dist folder: https://github.com/procrastinatos/google-api-nodejs-tsd |
It seams that with the new SALSA technology, typescript will be able to recognize things without .d.ts - there is a pull request enable this things. |
+1 |
1 similar comment
+1 |
+1 |
1 similar comment
+1 |
Any news on this? Typings would greatly improve our experience working with this library. |
+1 |
Since Typescript 2.1 you can import Untyped modules But for that, we need to update the |
I'm starting to work on this one. This has to be done over several PRs, but the plan is:
Feedback on the approach welcomed. |
hey @JustinBeckwith any update on this? You also don't need a Axios is a good example of this approach. |
To add to the above comment: Despite the |
@JustinBeckwith Any update on this? Super keen for these types. |
Apologies for the delay here folks. We did a lot of work to get things moved over to typescript, but I just haven't gone the last mile to get the generated d.ts included in the package. There's a PR over in #785 to cover this :) |
@JustinBeckwith Looks like #785 been merged. Would be amazing to get a new version with this and the |
@JustinBeckwith any news on this? |
BUMP. Any news? |
Yes! We do ship a |
current year! |
fwiw, you can patch the dep as well. Hopefully this helps someone out there. |
Could you include the d.ts file in this client distribution?
The text was updated successfully, but these errors were encountered: