Skip to content

Commit 38221ef

Browse files
fix: remove MethodsDictionary import
Fixes #182
1 parent a5e8389 commit 38221ef

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414
withComputed,
1515
withState,
1616
} from '@ngrx/signals';
17-
import { MethodsDictionary } from '@ngrx/signals/src/signal-store-models';
1817
import { capitalize } from './with-data-service';
1918

2019
// This is a virtual page which is can be used to create a pagination control
@@ -90,19 +89,17 @@ export function withPagination<E, Collection extends string>(options: {
9089
collection: Collection;
9190
}): SignalStoreFeature<
9291
EmptyFeatureResult,
93-
{
92+
EmptyFeatureResult & {
9493
state: NamedPaginationServiceState<E, Collection>;
9594
props: NamedPaginationServiceSignals<E, Collection>;
96-
methods: MethodsDictionary;
9795
}
9896
>;
9997

10098
export function withPagination<E>(): SignalStoreFeature<
10199
EmptyFeatureResult,
102-
{
100+
EmptyFeatureResult & {
103101
state: PaginationServiceState<E>;
104102
props: PaginationServiceSignals<E>;
105-
methods: MethodsDictionary;
106103
}
107104
>;
108105

0 commit comments

Comments
 (0)