mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
add 'end' event to minio-js BucketStream (#35990)
'Stream' has 'end' event, but its not listed on the types. It is added now.
This commit is contained in:
parent
d0ba8d6550
commit
2ba9ea4f64
1
types/minio/index.d.ts
vendored
1
types/minio/index.d.ts
vendored
@ -62,6 +62,7 @@ export interface IncompleteUploadedBucketItem {
|
||||
export interface BucketStream<T> extends Stream {
|
||||
on(event: 'data', listener: (item: T) => void): this;
|
||||
on(event: 'error', listener: (error: Error) => void): this;
|
||||
on(event: 'end', listener: () => void): this;
|
||||
}
|
||||
|
||||
export interface PostPolicyResult {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user