-
Notifications
You must be signed in to change notification settings - Fork 10
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
Unclear how to use new types #483
Comments
Hello! Not all types in this repository are added to DefinitelyTyped and published to npm (see #401). I'll update types list shortly and will let you know. Meanwhile, you can download d.ts file and put it in your project folder. |
Published to NPM: @maxim_mazurok/gapi.client.apikeys, feel free to use it for now (
|
Please, consider giving the project a "star" if you like it 😜 |
Thanks for the quick workaround! |
You're welcome! I've added info about this error to the docs in #485, which will close this issue once merged. Cheers! |
@bamnet https://www.npmjs.com/package/@types/gapi.client.apikeys was just published, feel free to use it :) |
Woohoo, thanks so much!!! 🥳 |
I'm trying to import types that have been generated for
gapi.client.apikeys
which I see are available at https://github.com/Maxim-Mazurok/google-api-typings-generator/tree/types/gapi.client.apikeys/. This looks like a much better system then manually trying to create some typings based on the documentation / discovery document.Following the instructions on that README page (
npm install @types/gapi.client.apikeys@v2 --save-dev
), I get an error that the type isn't published. Is there a different process to install these typings?The text was updated successfully, but these errors were encountered: