mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 04:24:30 +08:00
Made all arguments optional
This commit is contained in:
2
through/through.d.ts
vendored
2
through/through.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user