summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/http2.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/http2.ts')
-rw-r--r--ext/node/polyfills/http2.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/node/polyfills/http2.ts b/ext/node/polyfills/http2.ts
index 357697731..a13953e76 100644
--- a/ext/node/polyfills/http2.ts
+++ b/ext/node/polyfills/http2.ts
@@ -5,8 +5,7 @@
// deno-lint-ignore-file prefer-primordials
import { core } from "ext:core/mod.js";
-const {
- op_http2_connect,
+import {
op_http2_client_get_response,
op_http2_client_get_response_body_chunk,
op_http2_client_get_response_trailers,
@@ -14,8 +13,9 @@ const {
op_http2_client_reset_stream,
op_http2_client_send_data,
op_http2_client_send_trailers,
+ op_http2_connect,
op_http2_poll_client_connection,
-} = core.ensureFastOps();
+} from "ext:core/ops";
import { notImplemented, warnNotImplemented } from "ext:deno_node/_utils.ts";
import { EventEmitter } from "node:events";