1
0
Fork 0
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:
Zicklag 2022-07-31 15:15:29 -05:00 committed by GitHub
parent 2703996dea
commit d81c5b51b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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