diff --git a/lib/Helpers.d.ts b/lib/Helpers.d.ts index 88b315edb..74479d185 100644 --- a/lib/Helpers.d.ts +++ b/lib/Helpers.d.ts @@ -116,7 +116,7 @@ type Action = IndexAction | CreateAction | UpdateAction | DeleteAction; type Omit = Pick>; export interface BulkHelperOptions extends Omit { - datasource: TDocument[] | Buffer | ReadableStream | AsyncIterator; + datasource: TDocument[] | Buffer | ReadableStream | AsyncIterable; onDocument: (doc: TDocument) => Action; flushBytes?: number; flushInterval?: number;