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;