@@ -18,7 +18,7 @@ import * as pjy from '@google-cloud/projectify';
1818import * as pfy from '@google-cloud/promisify' ;
1919import * as assert from 'assert' ;
2020import * as extend from 'extend' ;
21- import { CallOptions } from 'grpc' ;
21+ import { CallOptions } from '@ grpc/grpc-js ' ;
2222import * as is from 'is' ;
2323import * as proxyquire from 'proxyquire' ;
2424import * as sinon from 'sinon' ;
@@ -1649,7 +1649,8 @@ describe('Request', () => {
16491649 it ( 'should send gaxOpts' , done => {
16501650 request . datastore . clients_ = new Map ( ) ;
16511651 request . datastore . clients_ . set ( CONFIG . client , {
1652- [ CONFIG . method ] ( _ : object , gaxO : CallOptions ) {
1652+ // tslint:disable-next-line no-any
1653+ [ CONFIG . method ] ( _ : object , gaxO : any ) {
16531654 delete gaxO . headers ;
16541655 assert . deepStrictEqual ( gaxO , CONFIG . gaxOpts ) ;
16551656 done ( ) ;
@@ -1662,7 +1663,8 @@ describe('Request', () => {
16621663 it ( 'should send google-cloud-resource-prefix' , done => {
16631664 request . datastore . clients_ = new Map ( ) ;
16641665 request . datastore . clients_ . set ( CONFIG . client , {
1665- [ CONFIG . method ] ( _ : object , gaxO : CallOptions ) {
1666+ // tslint:disable-next-line no-any
1667+ [ CONFIG . method ] ( _ : object , gaxO : any ) {
16661668 assert . deepStrictEqual ( gaxO . headers , {
16671669 'google-cloud-resource-prefix' : 'projects/' + PROJECT_ID ,
16681670 } ) ;
0 commit comments