Skip to content

Commit 57e0c2d

Browse files
committed
types fix
1 parent 000b2ae commit 57e0c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/pagination/createPaginator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const makePagedClientRequest = async <ClientType extends Client<any, any, any>,
77
CommandCtor: any,
88
client: ClientType,
99
input: InputType,
10-
withCommand: (command: Command<any, any, any, any, any>) => typeof command = (_) => _,
10+
withCommand: (command: Command<any, any, any, any, any>) => typeof command | undefined = (_) => _,
1111
...args: any[]
1212
): Promise<OutputType> => {
1313
let command = new CommandCtor(input);

0 commit comments

Comments
 (0)