diff options
author | Zicklag <zicklag@katharostech.com> | 2022-07-31 15:15:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 22:15:29 +0200 |
commit | d81c5b51b32247c96af78d90e89429e33b2a58ac (patch) | |
tree | 810cd4456e4bcf0065616c2d942f97f86ff8c2f5 | |
parent | 2703996dea73c496d79fcedf165886a1659622d1 (diff) |
core: Add types for `Deno.core.print()` (#15283)
-rw-r--r-- | core/lib.deno_core.d.ts | 5 |
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>; |