Skip to content

Commit bc5d178

Browse files
authored
Merge pull request quirrel-dev#749 from quirrel-dev/renovate/typescript-4.x
Update dependency typescript to v4.4.2
2 parents d3cf86f + d7ec68d commit bc5d178

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"npm-run-all": "4.1.5",
6262
"supertest": "6.1.6",
6363
"ts-jest": "27.0.5",
64-
"typescript": "4.3.5",
64+
"typescript": "4.4.2",
6565
"websocket": "1.0.34"
6666
},
6767
"dependencies": {

src/client/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ interface CreateQuirrelClientArgs<T> {
7171
};
7272

7373
fetch?: typeof fetch;
74-
catchDecryptionErrors?: (error: Error) => void;
74+
catchDecryptionErrors?(error: unknown): void;
7575
}
7676

7777
const vercelMs = z

src/client/test/encryption.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ test("catchDecryptionErrors", async () => {
8181
encryptionSecret: "4ws8syoOgeQX6WFvXuUneGNwy7QvLxpk",
8282
},
8383
catchDecryptionErrors(error) {
84-
decryptionErrors.push(error);
84+
decryptionErrors.push(error as Error);
8585
},
8686
});
8787

0 commit comments

Comments
 (0)