UNPKG

@ngrx/signals

Version:

Reactive Store and Set of Utilities for Angular Signals

12 lines (11 loc) 425 B
import { EmptyFeatureResult, SignalStoreFeature } from './signal-store-models'; export declare function withState<State extends object>(stateFactory: () => State): SignalStoreFeature<EmptyFeatureResult, { state: State; props: {}; methods: {}; }>; export declare function withState<State extends object>(state: State): SignalStoreFeature<EmptyFeatureResult, { state: State; props: {}; methods: {}; }>;