mirror of
https://github.com/cderche/greenlock-storage-s3
synced 2025-12-25 13:48:38 +00:00
6 lines
268 B
TypeScript
6 lines
268 B
TypeScript
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[]; |