Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing the following properties from type 'Conn': readable, writable #170

Open
bartenra opened this issue Mar 25, 2022 · 1 comment
Open

Comments

@bartenra
Copy link

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

@montyanderson
Copy link

Also getting this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants