Skip to content

Commit eeeea26

Browse files
committed
types
1 parent b7b1d95 commit eeeea26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/GraphQL/Client/BaseClients/Apollo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const createClientWithWebsockets = function (opts) {
6565
: {},
6666
},
6767
on: {
68-
closed: (event) => {
68+
closed: (/** @type {CloseEvent} */ event) => {
6969
const code = /** @type {number | undefined} */ (event?.code);
7070
const reason = /** @type {string | undefined} */ (event?.reason);
7171
const wasClean = /** @type {boolean | undefined} */ (event?.wasClean);

0 commit comments

Comments
 (0)