nodejs-storage
nodejs-storage copied to clipboard
getSignedUrl response type is wrong
node 8.12 npm 6.4.1 @google-cloud/storage 2.2
The getSignedUrl signature looks like:
getSignedUrl(cfg: GetSignedUrlConfig): Promise<GetSignedPolicyResponse>
It should be:
getSignedUrl(cfg: GetSignedUrlConfig): Promise<GetSignedUrlResponse>
This is according to the documentation:
* @returns {Promise<GetSignedUrlResponse>}