diff --git a/packages/google-cloud-translate/package.json b/packages/google-cloud-translate/package.json index b0d890c282b..6a125b47a36 100644 --- a/packages/google-cloud-translate/package.json +++ b/packages/google-cloud-translate/package.json @@ -48,7 +48,7 @@ "dependencies": { "@google-cloud/common": "^0.32.0", "@google-cloud/promisify": "^0.4.0", - "arrify": "^1.0.1", + "arrify": "^2.0.0", "extend": "^3.0.1", "google-gax": "^0.25.4", "is": "^3.2.1", @@ -59,7 +59,6 @@ }, "devDependencies": { "@google-cloud/nodejs-repo-tools": "^3.2.0", - "@types/arrify": "^1.0.4", "@types/extend": "^3.0.0", "@types/is": "0.0.21", "@types/mocha": "^5.2.4", diff --git a/packages/google-cloud-translate/src/v2/index.ts b/packages/google-cloud-translate/src/v2/index.ts index a99bc0cbc73..6ba42372217 100644 --- a/packages/google-cloud-translate/src/v2/index.ts +++ b/packages/google-cloud-translate/src/v2/index.ts @@ -14,7 +14,7 @@ import {Service, util} from '@google-cloud/common'; import {promisifyAll} from '@google-cloud/promisify'; -import * as arrify from 'arrify'; +import arrify = require('arrify'); import * as extend from 'extend'; import {GoogleAuthOptions} from 'google-auth-library'; import * as is from 'is';