From 4031d13eb6073d288b51a057e69bcfeb48478d54 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Fri, 14 Sep 2018 14:02:35 +0200 Subject: [PATCH] Add abort to pull-handshake --- types/pull-handshake/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/pull-handshake/index.d.ts b/types/pull-handshake/index.d.ts index 611ad8a..4aa5044 100644 --- a/types/pull-handshake/index.d.ts +++ b/types/pull-handshake/index.d.ts @@ -12,6 +12,7 @@ type Options = { export type Handshake = { handshake: { + abort: () => void; read: (length: number, cb: (error: Error, buffer: Buffer) => void) => void; write: (buffer: Buffer) => void; }