From 27517bfe7744183c2bd0beb093eebaec9b8810ca Mon Sep 17 00:00:00 2001 From: Kyle McCarthy Date: Mon, 4 Mar 2019 20:43:43 -0600 Subject: [PATCH] offset (uint) passed to onWritable callback --- docs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.d.ts b/docs/index.d.ts index 9160cd0..953ceac 100644 --- a/docs/index.d.ts +++ b/docs/index.d.ts @@ -61,7 +61,7 @@ interface HttpResponse { * You MUST return true for success, false for failure. * Writing nothing is always success, so by default you must return true. */ - onWritable(handler: (res: HttpResponse) => boolean) : HttpResponse; + onWritable(handler: (offset: number) => boolean) : HttpResponse; /** Every HttpResponse MUST have an attached abort handler IF you do not respond * to it immediately inside of the callback. Returning from an Http request handler