Skip to content

Tuple type '[File[]]' with length '1' cannot be assigned to tuple with length '3'. #672

@n-for-all

Description

@n-for-all

bucket .getFiles({ prefix: dir, delimiter: '/', autoPaginate: false, }) .then(function([files, _nextQuery, apiResponse]) {

Tuple type '[File[]]' with length '1' cannot be assigned to tuple with length '3'.
How can i fix this error in typesript?

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the googleapis/nodejs-storage API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions