summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal_binding/util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/internal_binding/util.ts')
-rw-r--r--ext/node/polyfills/internal_binding/util.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/node/polyfills/internal_binding/util.ts b/ext/node/polyfills/internal_binding/util.ts
index b4bcdaef4..c8fb32d8c 100644
--- a/ext/node/polyfills/internal_binding/util.ts
+++ b/ext/node/polyfills/internal_binding/util.ts
@@ -28,10 +28,7 @@
// TODO(petamoriken): enable prefer-primordials for node polyfills
// deno-lint-ignore-file prefer-primordials
-import { core } from "ext:core/mod.js";
-const {
- op_node_guess_handle_type,
-} = core.ensureFastOps();
+import { op_node_guess_handle_type } from "ext:core/ops";
const handleTypes = ["TCP", "TTY", "UDP", "FILE", "PIPE", "UNKNOWN"];
export function guessHandleType(fd: number): string {