We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ad899 commit 6d1c2fbCopy full SHA for 6d1c2fb
.changeset/lazy-days-jam.md
@@ -0,0 +1,5 @@
1
+---
2
+"@smithy/types": patch
3
4
+
5
+fix paginator type
packages/types/src/pagination.ts
@@ -5,7 +5,7 @@ import { Client } from "./client";
*
6
* Expected type definition of a paginator.
7
*/
8
-export type Paginator<T> = AsyncGenerator<T, T, unknown>;
+export type Paginator<T> = AsyncGenerator<T, undefined, unknown>;
9
10
/**
11
* @public
0 commit comments