From 034fed8319e8ae2b5a2e24c9689ec62ce4230a42 Mon Sep 17 00:00:00 2001 From: Dave Gramlich Date: Tue, 14 May 2019 22:37:33 -0400 Subject: [PATCH] fix(table): allow for TableSchema to be used --- src/table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/table.ts b/src/table.ts index abaa0ae8..245c0fae 100644 --- a/src/table.ts +++ b/src/table.ts @@ -118,7 +118,7 @@ export type CopyTableMetadata = JobRequest; export type TableMetadata = bigquery.ITable & { name?: string; - schema?: string | TableField[]; + schema?: string | TableField[] | TableSchema; partitioning?: string; view?: string | ViewDefinition; };