mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 12:58:54 -05:00
core: Add types for Deno.core.print()
(#15283)
This commit is contained in:
parent
2703996dea
commit
d81c5b51b3
1 changed files with 5 additions and 0 deletions
5
core/lib.deno_core.d.ts
vendored
5
core/lib.deno_core.d.ts
vendored
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue