Open CarstenLeue opened 6 years ago
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; }
The typescript signature for Entry is:
I think that it should be