diff options
Diffstat (limited to 'ext/websocket')
-rw-r--r-- | ext/websocket/01_websocket.js | 4 | ||||
-rw-r--r-- | ext/websocket/02_websocketstream.js | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/ext/websocket/01_websocket.js b/ext/websocket/01_websocket.js index bb1624f22..5f0f648a7 100644 --- a/ext/websocket/01_websocket.js +++ b/ext/websocket/01_websocket.js @@ -1,6 +1,5 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. -// deno-lint-ignore-file camelcase /// <reference path="../../core/internal.d.ts" /> const core = globalThis.Deno.core; @@ -46,8 +45,7 @@ const { SymbolFor, TypedArrayPrototypeGetByteLength, } = primordials; -const op_ws_check_permission_and_cancel_handle = - core.ops.op_ws_check_permission_and_cancel_handle; +const { op_ws_check_permission_and_cancel_handle } = core.ops; const { op_ws_create, op_ws_close, diff --git a/ext/websocket/02_websocketstream.js b/ext/websocket/02_websocketstream.js index 281025289..f4f866c6b 100644 --- a/ext/websocket/02_websocketstream.js +++ b/ext/websocket/02_websocketstream.js @@ -1,6 +1,5 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. -// deno-lint-ignore-file camelcase /// <reference path="../../core/internal.d.ts" /> const core = globalThis.Deno.core; |