UNPKG

@rx-angular/state

Version:

@rx-angular/state is a light-weight, flexible, strongly typed and tested tool dedicated to reduce the complexity of managing component state and side effects in angular

11 lines 594 B
import { Observable } from 'rxjs'; import { HookProps, SingleShotProps } from './model'; export declare function isSingleShotHookNameGuard<T>(name: unknown): name is keyof SingleShotProps; /** * This is an operator that is used to listen to Angular lifecycle hooks. * It plucks a defined lefe cycle name `HookProps` and forwards values for the particular value and in the behavior of the hook e.g. single shot * * @param name */ export declare function toHook<H extends keyof HookProps>(name: H): (o$: Observable<HookProps>) => Observable<HookProps[H]>; //# sourceMappingURL=utils.d.ts.map