UNPKG

hackpro-sdk

Version:
21 lines (16 loc) 549 B
declare module 'readable-stream' { import { EventEmitter } from 'events'; import { PassThrough as NodeJSPassThrough, Readable as NodeJSReadable, Transform as NodeJSTransform, Writable as NodeJSWritable, } from 'stream'; export class PassThrough extends NodeJSPassThrough {} export class Readable extends NodeJSReadable {} export class Transform extends NodeJSTransform {} export class Writable extends NodeJSWritable { // destroy does not exist in node 6 Writable public destroy(error?: Error): this; } }