rsdoiel
In Deno 2.1.7 I stumbled on Deno.Stdin, Deno.FsFile but using these types fails to pass check
I changed the line
let input: Stdin | FsFile;
to let input: Deno.FsFile | any;
The typeof(Deno.stdin)
return "object" but that causes an error for lacking the readable
method used later. "any" seems pretty ugly but it does work. Thanks for the help!4 replies