Justin Reich
Justin Reich
node 8.12 npm 6.4.1 @google-cloud/storage 2.2 The `getSignedUrl` signature looks like: `getSignedUrl(cfg: GetSignedUrlConfig): Promise` It should be: `getSignedUrl(cfg: GetSignedUrlConfig): Promise` This is according to the documentation: `* @returns {Promise}`
The types for `PolicyDocument` are incorrect with what is returned when calling `getSignedPolicy`. The response is: ``` { string: '{"expiration":"2099-06-16T11:11:11.000Z","conditions":[["eq","$key","test.png"],{"bucket":"test"},["starts-with","content-type","image"],["content-length-range",0,1000000]]}', base64: 'asdasd=', signature: 'qasdasd' } ``` But the `PolicyDocument` interface...