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.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts
index 37cd33190..dcc50d263 100644
--- a/core/lib.deno_core.d.ts
+++ b/core/lib.deno_core.d.ts
@@ -64,6 +64,11 @@ declare namespace Deno {
function write(rid: number, buf: Uint8Array): Promise<number>;
/**
+ * Print a message to stdout or stderr
+ */
+ function print(message: string, is_err?: boolean): void;
+
+ /**
* Shutdown a resource
*/
function shutdown(rid: number): Promise<void>;