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 60b4518 commit 100d1eaCopy full SHA for 100d1ea
modules/signals/src/with-feature.ts
@@ -3,6 +3,7 @@ import {
3
SignalStoreFeatureResult,
4
StateSignals,
5
} from './signal-store-models';
6
+import { Prettify } from './ts-helpers';
7
8
/**
9
* @description
@@ -31,7 +32,9 @@ export function withFeature<
31
32
Output extends SignalStoreFeatureResult
33
>(
34
featureFactory: (
- store: Prettify<StateSignals<Input['state']> & Input['props'] & Input['methods']>
35
+ store: Prettify<
36
+ StateSignals<Input['state']> & Input['props'] & Input['methods']
37
+ >
38
) => SignalStoreFeature<Input, Output>
39
): SignalStoreFeature<Input, Output> {
40
return (store) => {
0 commit comments