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 Feb 7, 2026. It is now read-only.
The Typescript compiler will complain and say that friendlyName is required, and view must be a string. The types in the API documentation say that friendlyName is optional, and view is an object with some properties.
I discovered this when updating from v1.3 of the library to v2. I'd expect my existing, working library calls to pass type checking, since everything still works if I disable type checking and run the code.
Environment details
@google-cloud/bigqueryversion: 2.0.6Steps to reproduce
Write this code:
The Typescript compiler will complain and say that
friendlyNameis required, andviewmust be a string. The types in the API documentation say that friendlyName is optional, and view is an object with some properties.I discovered this when updating from v1.3 of the library to v2. I'd expect my existing, working library calls to pass type checking, since everything still works if I disable type checking and run the code.