Skip to content

Commit

Permalink
fix paginator types (#1501)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe authored Jan 9, 2025
1 parent 000b2ae commit eec62b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/tasty-cougars-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion packages/core/src/pagination/createPaginator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const makePagedClientRequest = async <ClientType extends Client<any, any, any>,
CommandCtor: any,
client: ClientType,
input: InputType,
withCommand: (command: Command<any, any, any, any, any>) => typeof command = (_) => _,
withCommand: (command: Command<any, any, any, any, any>) => typeof command | undefined = (_) => _,
...args: any[]
): Promise<OutputType> => {
let command = new CommandCtor(input);
Expand Down

0 comments on commit eec62b1

Please sign in to comment.