gl-store-s3.js/node_modules/aws-sdk/lib/event-stream/event-stream.d.ts

6 lines
268 B
TypeScript
Raw Normal View History

2019-05-08 11:19:12 +00:00
export interface StreamingEventStream<Events> extends NodeJS.ReadableStream {
on(event: "data", listener: (event: Events) => void): this;
on(event: string, listener: Function): this;
}
export type EventStream<Events> = StreamingEventStream<Events> | Events[];