Maxim-Mazurok/google-api-typings-generator

@types/gapi.client.discovery deprecated

Closed this issue · 3 comments

WARN  deprecated @types/gapi.client.discovery@1.0.9: use @types/gapi.client.discovery-v1 instead

I keep getting this warning and I'm not sure how to resolve it. Would it be possible to update the dependency for @maxim_mazurok/gapi.client.drive-v3?

Many thanks! Awesome generator, btw.

Edit: Sorry, I made a mistake, there are too many similar packages and I'm kind of new to this. It seems that the package giving the warning is @types/gapi.client.drive-v3 that is somehow related to @maxim_mazurok/gapi.client.drive-v3 which doesn't provide the same typings when I swap them out.

Hello! @types/gapi.* just references @maxim_mazurok/gapi.* packages.
The reason you couldn't swap them is because @types will be included in TS by default, while @maxim_mazurok of course isn't. Hence why we need that proxy/reference. Hope it makes more sense now :)

Either way, good point about deprecated package, we did switch to the @gapi.client.-v format and forgot to update our own dependencies :) Will do, thanks for raising the issue!

Hey @DigitalNaut I have probably fixed the issue, it should be automatically released with the new version of @maxim_mazurok/gapi.client.drive-v3
This will happen when there's a new revision of the schema from google, judging by the version history it should happen within a week, let me know if you'll have any other questions or issues with types, cheers!

Amazing, thank you so much. Will do!