summaryrefslogtreecommitdiff
path: root/core/lib.deno_core.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib.deno_core.d.ts')
-rw-r--r--core/lib.deno_core.d.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts
index 1efb92dc6..004ed0529 100644
--- a/core/lib.deno_core.d.ts
+++ b/core/lib.deno_core.d.ts
@@ -35,5 +35,8 @@ declare namespace Deno {
/** Close the resource with the specified op id. */
function close(rid: number): void;
+
+ /** Get heap stats for current isolate/worker */
+ function heapStats(): Record<string, number>;
}
}