Skip to content

Commit

Permalink
chore(deps): update dependency typescript to ~3.2.0 (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and JustinBeckwith committed Nov 30, 2018
1 parent 482168b commit 6e08f7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-resourcemanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"prettier": "^1.7.4",
"proxyquire": "^2.0.0",
"source-map-support": "^0.5.6",
"typescript": "~3.1.0",
"typescript": "~3.2.0",
"uuid": "^3.0.1"
},
"nyc": {
Expand Down
7 changes: 4 additions & 3 deletions packages/google-cloud-resourcemanager/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

import {DecorateRequestOptions, Operation, util} from '@google-cloud/common';
import {MakeAuthenticatedRequestFactoryConfig} from '@google-cloud/common/build/src/util';
import * as arrify from 'arrify';
import * as assert from 'assert';
import * as proxyquire from 'proxyquire';
Expand Down Expand Up @@ -78,11 +79,11 @@ const fakePromisify = {

let makeAuthenticatedRequestFactoryOverride: Function|null;
const fakeUtil = Object.assign({}, util, {
makeAuthenticatedRequestFactory() {
makeAuthenticatedRequestFactory(cfg: MakeAuthenticatedRequestFactoryConfig) {
if (makeAuthenticatedRequestFactoryOverride) {
return makeAuthenticatedRequestFactoryOverride.apply(null, arguments);
return makeAuthenticatedRequestFactoryOverride(cfg);
}
return util.makeAuthenticatedRequestFactory.apply(null, arguments);
return util.makeAuthenticatedRequestFactory(cfg);
},
});
const originalFakeUtil = Object.assign({}, fakeUtil);
Expand Down

0 comments on commit 6e08f7e

Please sign in to comment.