google-api-nodejs-client icon indicating copy to clipboard operation
google-api-nodejs-client copied to clipboard

'await' has no effect on the type of this expression - GaxiosPromise

Open Isos9 opened this issue 2 years ago • 0 comments

  1. Is this a client library issue or a product issue? This is the client library for googleapis, using the drive api to list and delete.

  2. Did someone already solve this? Can't find any discussion/solutions in the GitHub repos and Stackoverflow

Hello, I can't seem to understand why TS is throwing this warning on the GaxiosPromise method, maybe because of the overload but when I check the signature it shows me the one with the GaxiosPromise type in return. So I wonder what could cause this.

Environment details

  • OS: Arch
  • Node.js version: 16.12
  • npm version: 8.1
  • googleapis version: 122

Steps to reproduce

image

Thanks!

Isos9 avatar Jul 19 '23 21:07 Isos9