From b1ae0480301cd1ad699e9bddd93229cb2eb71e7f Mon Sep 17 00:00:00 2001 From: Andrew Gaspar Date: Thu, 15 Aug 2013 23:13:11 -0500 Subject: [PATCH] Made all arguments optional --- through/through.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/through/through.d.ts b/through/through.d.ts index d348c5d183..7d2adce5ee 100644 --- a/through/through.d.ts +++ b/through/through.d.ts @@ -8,7 +8,7 @@ declare module "through" { import Stream = require("stream"); - function through(write: (data) => void, + function through(write?: (data) => void, end?: () => void, opts?: { autoDestroy: boolean;