Skip to content

Commit 1340b1f

Browse files
fix: another try to fix docs CI build (#208)
1 parent a4e09e8 commit 1340b1f

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

libs/ngrx-toolkit/src/lib/with-pagination.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export function nextPage<Collection extends string>(options?: {
226226
}): SetPageState<Collection> {
227227
const { pageKey } = createPaginationKeys<Collection>(options);
228228

229-
return (state: { [pageKey]: number }) => {
229+
return (state: Record<string, number>) => {
230230
const currentPage = state[pageKey];
231231

232232
return { [pageKey]: currentPage + 1 } as PageState<Collection>;
@@ -238,7 +238,7 @@ export function previousPage<Collection extends string>(options?: {
238238
}): SetPageState<Collection> {
239239
const { pageKey } = createPaginationKeys<Collection>(options);
240240

241-
return (state: { [pageKey]: number }) => {
241+
return (state: Record<string, number>) => {
242242
const currentPage = state[pageKey];
243243

244244
return { [pageKey]: currentPage - 1 } as PageState<Collection>;

pnpm-workspace.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
packages:
2-
- 'docs'
3-
2+
- docs
43
onlyBuiltDependencies:
4+
- '@parcel/watcher'
5+
- '@swc/core'
6+
- core-js
7+
- core-js-pure
8+
- esbuild
59
- lmdb
10+
- msgpackr-extract
611
- nx
712
- unrs-resolver

0 commit comments

Comments
 (0)