Skip to content

Commit

Permalink
AbstractPage extends
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuanapoli committed Oct 16, 2023
1 parent 9dcb908 commit a5055af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions definitions/npm/openai_v4.x.x/flow_v0.142.x-/openai_v4.x.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ declare module "openai" {
params: { [key: string]: mixed, ... } | null,
...
};
declare class AbstractPage<Item> /* extends AsyncIterable<Item> */ {
declare class AbstractPage<Item> extends $AsyncIterable<Item, void, void> {
options: FinalRequestOptions<>;
response: Response;
body: mixed;
Expand All @@ -308,7 +308,7 @@ declare module "openai" {
hasNextPage(): boolean;
getNextPage(): Promise<this>;
iterPages(): AsyncGenerator<AbstractPage<Item>, void, mixed>;
// @@asyncIterator: () => AsyncGenerator<Awaited<Item>, void, mixed>;
@@asyncIterator: () => AsyncGenerator<Item, void, mixed>;
}
declare class PagePromise<
PageClass,
Expand Down

0 comments on commit a5055af

Please sign in to comment.