summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_next_tick.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2023-04-20 13:24:28 +0900
committerGitHub <noreply@github.com>2023-04-20 13:24:28 +0900
commitf5202840818cade33c65c0ae6c2ac17fb5732229 (patch)
tree6885fa0e677a947b3c2ab21f3cc71138e77b8093 /ext/node/polyfills/_next_tick.ts
parent02da57e2759a7521d53e28f7fb3fc0a268406b82 (diff)
refactor(ext/node): remove polyfills/_core.ts (#18766)
Diffstat (limited to 'ext/node/polyfills/_next_tick.ts')
-rw-r--r--ext/node/polyfills/_next_tick.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/node/polyfills/_next_tick.ts b/ext/node/polyfills/_next_tick.ts
index 45e972d6b..fe1b68742 100644
--- a/ext/node/polyfills/_next_tick.ts
+++ b/ext/node/polyfills/_next_tick.ts
@@ -1,11 +1,12 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// Copyright Joyent, Inc. and other Node contributors.
-import { core } from "ext:deno_node/_core.ts";
import { validateFunction } from "ext:deno_node/internal/validators.mjs";
import { _exiting } from "ext:deno_node/_process/exiting.ts";
import { FixedQueue } from "ext:deno_node/internal/fixed_queue.ts";
+const { core } = globalThis.__bootstrap;
+
interface Tock {
callback: (...args: Array<unknown>) => void;
args: Array<unknown>;