nodejs-storage icon indicating copy to clipboard operation
nodejs-storage copied to clipboard

getSignedUrl response type is wrong

Open reichjustin opened this issue 8 years ago • 0 comments

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>}

reichjustin avatar Nov 01 '18 02:11 reichjustin