Skip to content

Commit e870b7a

Browse files
renovate[bot]JustinBeckwith
authored andcommitted
chore(deps): update dependency typescript to ~3.3.0 (#591)
1 parent 36f7511 commit e870b7a

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

handwritten/storage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"proxyquire": "^2.0.0",
110110
"source-map-support": "^0.5.6",
111111
"tmp": "^0.0.33",
112-
"typescript": "~3.1.1",
112+
"typescript": "~3.3.0",
113113
"uuid": "^3.1.0"
114114
}
115115
}

handwritten/storage/test/bucket.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ const fakePaginator = {
118118
};
119119

120120
class FakeAcl {
121-
calledWith_: IArguments;
122-
constructor() {
123-
this.calledWith_ = [].slice.call(arguments);
121+
calledWith_: Array<{}>;
122+
constructor(...args: Array<{}>) {
123+
this.calledWith_ = args;
124124
}
125125
}
126126

handwritten/storage/test/file.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ function fakeResumableUpload() {
7979
};
8080
}
8181
Object.assign(fakeResumableUpload, {
82-
createURI(...args: Array<{}>) {
82+
createURI(
83+
...args:
84+
[resumableUpload.UploadConfig, resumableUpload.CreateUriCallback]) {
8385
let createURI = resumableUpload.createURI;
8486

8587
if (resumableUploadOverride && resumableUploadOverride.createURI) {
@@ -90,7 +92,7 @@ Object.assign(fakeResumableUpload, {
9092
},
9193
});
9294
Object.assign(fakeResumableUpload, {
93-
upload(...args: Array<{}>) {
95+
upload(...args: [resumableUpload.UploadConfig]) {
9496
let upload = resumableUpload.upload;
9597
if (resumableUploadOverride && resumableUploadOverride.upload) {
9698
upload = resumableUploadOverride.upload;

0 commit comments

Comments
 (0)