We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c00b073 commit a9e2238Copy full SHA for a9e2238
src/lib/seam/connect/seam-paginator.ts
@@ -105,7 +105,9 @@ export class SeamPaginator<
105
] as const
106
}
107
108
- async flattenToArray(): Promise<EnsureReadonlyArray<TResponse[TResponseKey]>> {
+ async flattenToArray(): Promise<
109
+ EnsureReadonlyArray<TResponse[TResponseKey]>
110
+ > {
111
const items = [] as EnsureMutableArray<TResponse[TResponseKey]>
112
let [current, pagination] = await this.firstPage()
113
items.push(...current)
0 commit comments