mirror of
https://github.com/denoland/deno.git
synced 2025-01-07 06:46:59 -05:00
core: Add types for Deno.core.print()
(#15283)
This commit is contained in:
parent
14f74e706e
commit
6ed2bf4043
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>;
|
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
|
* Shutdown a resource
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue