diff --git a/package.json b/package.json index e4eff143..da8c63bb 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ }, "devDependencies": { "@google-cloud/storage": "^6.0.0", - "@types/big.js": "^6.0.0", + "@types/big.js": "^6.2.0", "@types/extend": "^3.0.1", "@types/is": "0.0.22", "@types/mocha": "^9.0.0", diff --git a/src/bigquery.ts b/src/bigquery.ts index c304a2b0..b3ba30c3 100644 --- a/src/bigquery.ts +++ b/src/bigquery.ts @@ -25,7 +25,7 @@ import {paginator, ResourceStream} from '@google-cloud/paginator'; import {promisifyAll} from '@google-cloud/promisify'; import {PreciseDate} from '@google-cloud/precise-date'; import arrify = require('arrify'); -import {Big} from 'big.js'; +import * as Big from 'big.js'; import * as extend from 'extend'; import * as is from 'is'; import * as uuid from 'uuid'; diff --git a/src/table.ts b/src/table.ts index cab72804..dae1ef04 100644 --- a/src/table.ts +++ b/src/table.ts @@ -26,7 +26,7 @@ import { import {paginator, ResourceStream} from '@google-cloud/paginator'; import {promisifyAll} from '@google-cloud/promisify'; import arrify = require('arrify'); -import Big from 'big.js'; +import * as Big from 'big.js'; import * as extend from 'extend'; import {once} from 'events'; import * as fs from 'fs'; diff --git a/system-test/bigquery.ts b/system-test/bigquery.ts index 7fae0475..fb6b3f39 100644 --- a/system-test/bigquery.ts +++ b/system-test/bigquery.ts @@ -20,7 +20,7 @@ import { import {Storage} from '@google-cloud/storage'; import * as assert from 'assert'; import {describe, it, before, after} from 'mocha'; -import Big from 'big.js'; +import * as Big from 'big.js'; import * as fs from 'fs'; import * as uuid from 'uuid'; import {Readable} from 'stream'; diff --git a/test/bigquery.ts b/test/bigquery.ts index 8e108c05..8f0693aa 100644 --- a/test/bigquery.ts +++ b/test/bigquery.ts @@ -23,7 +23,7 @@ import * as pfy from '@google-cloud/promisify'; import arrify = require('arrify'); import * as assert from 'assert'; import {describe, it, after, afterEach, before, beforeEach} from 'mocha'; -import Big from 'big.js'; +import * as Big from 'big.js'; import * as extend from 'extend'; import * as proxyquire from 'proxyquire'; import * as sinon from 'sinon'; diff --git a/test/table.ts b/test/table.ts index b78e7c32..14578594 100644 --- a/test/table.ts +++ b/test/table.ts @@ -24,7 +24,7 @@ import {File} from '@google-cloud/storage'; import arrify = require('arrify'); import * as assert from 'assert'; import {describe, it, afterEach, beforeEach, before, after} from 'mocha'; -import Big from 'big.js'; +import * as Big from 'big.js'; import {EventEmitter} from 'events'; import * as extend from 'extend'; import * as proxyquire from 'proxyquire';