From 0f9daaeacb402a7199e58b14ad01ec0091ac2c8d Mon Sep 17 00:00:00 2001 From: Aapo Alasuutari Date: Wed, 22 Feb 2023 21:09:59 +0200 Subject: fix(ext/ffi): Fix re-ref'ing UnsafeCallback (#17704) --- core/lib.deno_core.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/lib.deno_core.d.ts') diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts index ad6739b3c..457fa07db 100644 --- a/core/lib.deno_core.d.ts +++ b/core/lib.deno_core.d.ts @@ -19,7 +19,7 @@ declare namespace Deno { /** Mark following promise as "unref", ie. event loop will exit * if there are only "unref" promises left. */ - function unrefOps(promiseId: number): void; + function unrefOp(promiseId: number): void; /** * List of all registered ops, in the form of a map that maps op -- cgit v1.2.3