char/avril

(wip) why'd you have to go and make things so complicaaaaated?

git clone https://git.t4t.associates/char/avril

Charlotte Somport stdio extension to typescriptf20b64f

main
610 B10 linesraw
1declare module "ext:core/ops" {
2  import type { FileReply } from "ext:file/errors.js";
3
4  export function op_stdio_cancel_read(): null;
5  export function op_stdio_flush(stderr: boolean): Promise<null>;
6  export function op_stdio_read(limit: number): Promise<Uint8Array<ArrayBuffer> | null>;
7  export function op_stdio_read_sync(limit: number): FileReply<Uint8Array<ArrayBuffer> | null>;
8  export function op_stdio_write(args: [stderr: boolean, bytes: Uint8Array<ArrayBuffer>]): Promise<null>;
9  export function op_stdio_write_sync(args: [stderr: boolean, bytes: Uint8Array<ArrayBuffer>]): FileReply<number>;
10}