fixed the extract fn return type to be Extract (#35843)

This commit is contained in:
Alex Sherwin 2019-06-03 19:33:27 -04:00 committed by Andrew Casey
parent 1cdaa0a699
commit 8e1fabf708

View File

@ -37,6 +37,6 @@ export interface Extract extends stream.Writable {
on(event: "entry", listener: (headers: Headers, stream: stream.PassThrough, next: () => void) => void): this;
}
export function extract(opts?: stream.WritableOptions): stream.Writable;
export function extract(opts?: stream.WritableOptions): Extract;
export function pack(opts?: stream.ReadableOptions): Pack;