vscode-vsce/typings/yauzl.d.ts
2016-09-19 12:46:33 +02: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);
}