node-unzip
node-unzip copied to clipboard
Pipe signature on Entry
The typescript signature for Entry is:
export interface Entry {
path: string;
type: 'Directory' | 'File';
size: number;
pipe: (stream: NodeJS.WritableStream) => void;
autodrain: () => void;
}
I think that it should be
export interface Entry {
path: string;
type: 'Directory' | 'File';
size: number;
pipe: <T extends NodeJS.WritableStream>(stream: T) => T;
autodrain: () => void;
}