1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 01:58:05 -05:00

core: Add types for Deno.core.print() (#15283)

This commit is contained in:
Zicklag 2022-07-31 15:15:29 -05:00 committed by crowlkats
parent 14f74e706e
commit 6ed2bf4043
No known key found for this signature in database
GPG key ID: A82C9D461FC483E8

View file

@ -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
*/