file.move return type (MoveResponse) is mostly un-typed #2364
Labels
api: storage
Issues related to the googleapis/nodejs-storage API.
next major: breaking change
this is a change that we should wait to bundle into the next major version
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Environment details
@google-cloud/storage
version: 7.6.0Steps to reproduce
The
MoveResponse
type (defined at https://github.com/googleapis/nodejs-storage/blob/v7.6.0/src/file.ts#L266) is just[unknown]
. This doesn't seem correct, and is certainly unhelpful.From the definition of
MoveCallback
(at https://github.com/googleapis/nodejs-storage/blob/v7.6.0/src/file.ts#L268-L274), it seems like it should be something like[File, unknown]
matchingdestinationFile, apiResponse
for the non-error version of the callback args.The text was updated successfully, but these errors were encountered: