You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
It would be nice to have more type definition for GetFilesResponse -- particularly for the second and third items in the tuple type.
The SDK docs don't specify that these two items exist; the only place I could find documentation about the response body (third item in the tuple) was the docs on the console.
Environment details
OS: MacOS Ventura 13.4.1
Node.js version: 16.10.0
npm version: 7.24.0
@google-cloud/storage version: 7.0.1
Steps to reproduce
Observe the type definition for GetFilesResponse in node_modules
Note that the second and third items in the tuple type are not fully typed
Reacted by Dylan Grandmont, Jeremy A. Prescott and Filip Holčík
Hi @jared-jewitt thanks for opening an issue. We are in the process of trying to cleanup a lot of these interfaces that weren't originally typed well / typed at all. Unfortunately, since more strongly typing things is potentially a breaking change this is something we will likely have to wait to release until the next major version.
Activity
ddelgrosso1 commentedon Aug 24, 2023
Hi @jared-jewitt thanks for opening an issue. We are in the process of trying to cleanup a lot of these interfaces that weren't originally typed well / typed at all. Unfortunately, since more strongly typing things is potentially a breaking change this is something we will likely have to wait to release until the next major version.