vscode-vsce/typings/yauzl/yauzl.d.ts
2015-12-16 17:52:43 +00:00

14 lines
No EOL
359 B
TypeScript

declare module 'yauzl' {
import * as stream from 'stream';
import * as events from 'events';
interface Entry {
fileName: string;
}
class ZipFile extends events.EventEmitter {
openReadStream(entry: Entry, cb: (err: Error, stream: stream.Readable) => void);
}
function open(path: string, callback: (err: Error, zipfile: ZipFile) => void);
}