Skip to content

Commit

Permalink
feat: re-exporting types for google-common (#1271)
Browse files Browse the repository at this point in the history
* re-exporting types for google-common

* feat: re-exporting types for google-common

* format fix
  • Loading branch information
loferris authored Sep 27, 2023
1 parent 591292c commit cdf960a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bigquery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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<T> {
(err: Error | null, response?: T | null): void;
}
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export {
BigQueryTime,
BigQueryTimeOptions,
BigQueryTimestamp,
common,
DatasetCallback,
DatasetResource,
DatasetResponse,
Expand Down

0 comments on commit cdf960a

Please sign in to comment.