From cdf960a5cd7aaa1d9aeeff8001308b1fb89a6c6b Mon Sep 17 00:00:00 2001 From: Lo Ferris <50979514+loferris@users.noreply.github.com> Date: Wed, 27 Sep 2023 16:21:44 -0700 Subject: [PATCH] feat: re-exporting types for google-common (#1271) * re-exporting types for google-common * feat: re-exporting types for google-common * format fix --- src/bigquery.ts | 4 ++++ src/index.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/src/bigquery.ts b/src/bigquery.ts index b3ba30c3..d054d9d6 100644 --- a/src/bigquery.ts +++ b/src/bigquery.ts @@ -21,6 +21,7 @@ import { GoogleAuthOptions, util, } from '@google-cloud/common'; +import * as common from '@google-cloud/common'; import {paginator, ResourceStream} from '@google-cloud/paginator'; import {promisifyAll} from '@google-cloud/promisify'; import {PreciseDate} from '@google-cloud/precise-date'; @@ -45,6 +46,9 @@ import { import {GoogleErrorBody} from '@google-cloud/common/build/src/util'; import bigquery from './types'; +// Third-Party Re-exports +export {common}; + export interface RequestCallback { (err: Error | null, response?: T | null): void; } diff --git a/src/index.ts b/src/index.ts index 8c83b84a..ee56a62a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,6 +25,7 @@ export { BigQueryTime, BigQueryTimeOptions, BigQueryTimestamp, + common, DatasetCallback, DatasetResource, DatasetResponse,