Skip to content

Commit

Permalink
core: Add types for Deno.core.print() (denoland#15283)
Browse files Browse the repository at this point in the history
  • Loading branch information
zicklag committed Jul 31, 2022
1 parent 2703996 commit d81c5b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/lib.deno_core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,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
*/
Expand Down

0 comments on commit d81c5b5

Please sign in to comment.