From d48dde7bd192aa40013d15d54a2764b9db090a56 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 6 Feb 2023 10:52:13 -0500 Subject: [PATCH] *Add declares for readable and writable --- src/socket.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/socket.ts b/src/socket.ts index 20b6235..410f1fb 100644 --- a/src/socket.ts +++ b/src/socket.ts @@ -24,6 +24,9 @@ export default class Socket extends Duplex { public bufferSize; + declare readable: true; + declare writable: true; + constructor({ allowHalfOpen = false, remoteAddress,