File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
libs/ngrx-toolkit/src/lib Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ export function nextPage<Collection extends string>(options?: {
226
226
} ) : SetPageState < Collection > {
227
227
const { pageKey } = createPaginationKeys < Collection > ( options ) ;
228
228
229
- return ( state : { [ pageKey ] : number } ) => {
229
+ return ( state : Record < string , number > ) => {
230
230
const currentPage = state [ pageKey ] ;
231
231
232
232
return { [ pageKey ] : currentPage + 1 } as PageState < Collection > ;
@@ -238,7 +238,7 @@ export function previousPage<Collection extends string>(options?: {
238
238
} ) : SetPageState < Collection > {
239
239
const { pageKey } = createPaginationKeys < Collection > ( options ) ;
240
240
241
- return ( state : { [ pageKey ] : number } ) => {
241
+ return ( state : Record < string , number > ) => {
242
242
const currentPage = state [ pageKey ] ;
243
243
244
244
return { [ pageKey ] : currentPage - 1 } as PageState < Collection > ;
Original file line number Diff line number Diff line change 1
1
packages :
2
- - ' docs'
3
-
2
+ - docs
4
3
onlyBuiltDependencies :
4
+ - ' @parcel/watcher'
5
+ - ' @swc/core'
6
+ - core-js
7
+ - core-js-pure
8
+ - esbuild
5
9
- lmdb
10
+ - msgpackr-extract
6
11
- nx
7
12
- unrs-resolver
You can’t perform that action at this time.
0 commit comments