servest
servest copied to clipboard
missing the following properties from type 'Conn': readable, writable
error: TS2739 [ERROR]: Type '{ localAddr: { transport: "tcp"; hostname: string; port: number; }; remoteAddr: { transport: "tcp"; hostname: string; port: number; }; rid: number; close(): void; closeWrite(): Promise<void>; read(p: Uint8Array): Promise<...>; write(p: Uint8Array): Promise<...>; }' is missing the following properties from type 'Conn': readable, writable
const conn: Deno.Conn = {
~~~~
at https://deno.land/x/[email protected]/testing.ts:41:9
https://doc.deno.land/deno/stable/~/Deno.Conn
Also getting this issue