Invalid typings #507
Labels
api: pubsub
Issues related to the googleapis/nodejs-pubsub API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
@google-cloud/pubsub
version: 0.26.0It looks like the typings shipped with 0.26.0 are incorrect. I can't see any difference in actual implementation nor the changelog that would explain these changes:
Topic.exists
has a required parameter - a callback. It should return void if provided with a callback, a promise otherwise.Topic.get
returns aTopic
, not[Topic]
as it used to. Although I'd gladly welcome this change to the interface, it seems that it actually didn't change and still returns an array.There might be more, I just pointed out the ones I've came across and tested.
The text was updated successfully, but these errors were encountered: