From d81c5b51b32247c96af78d90e89429e33b2a58ac Mon Sep 17 00:00:00 2001 From: Zicklag Date: Sun, 31 Jul 2022 15:15:29 -0500 Subject: [PATCH] core: Add types for `Deno.core.print()` (#15283) --- core/lib.deno_core.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts index 37cd331906..dcc50d2631 100644 --- a/core/lib.deno_core.d.ts +++ b/core/lib.deno_core.d.ts @@ -63,6 +63,11 @@ declare namespace Deno { */ function write(rid: number, buf: Uint8Array): Promise; + /** + * Print a message to stdout or stderr + */ + function print(message: string, is_err?: boolean): void; + /** * Shutdown a resource */