summaryrefslogtreecommitdiff
path: root/cli/dts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index d82e07be0..2b4e1015a 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -430,6 +430,8 @@ declare namespace Deno {
result: Result;
/** When true, function calls will run on a dedicated blocking thread and will return a Promise resolving to the `result`. */
nonblocking?: NonBlocking;
+ /** When true, function calls can safely callback into JS or trigger a GC event. Default is `false`. */
+ callback?: boolean;
}
export interface ForeignStatic<Type extends NativeType = NativeType> {