core: Add types for `Deno.core.print()`
@@ -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
*/
