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.
But doing so results into a TS error: TS2769: No overload matches this call. The last overload gave the following error. Argument of type 'File | File[]' is not assignable to parameter of type 'string | File'. Type 'File[]' is not assignable to type 'string | File'.
Because load() has source defined only as source: string | File,.. not as source: string | File | File[]
@google-cloud/bigqueryversion: 5.12.0Steps to reproduce
According to the example here, and also by testing and using this already quite some time
https://cloud.google.com/nodejs/docs/reference/bigquery/latest/bigquery/table#_google_cloud_bigquery_Table_load_member_4_
it shuld be possible to use File[] as .load() parameter.
e.g.
But doing so results into a TS error:
TS2769: No overload matches this call. The last overload gave the following error. Argument of type 'File | File[]' is not assignable to parameter of type 'string | File'. Type 'File[]' is not assignable to type 'string | File'.Because load() has source defined only as source: string | File,.. not as source: string | File | File[]