@ngrx/signals
Version:
Reactive Store and Set of Utilities for Angular Signals
5 lines (4 loc) • 393 B
TypeScript
import { Prettify, StateSource, WritableStateSource } from '@ngrx/signals';
type UnprotectedSource<Source extends StateSource<object>> = Source extends StateSource<infer State> ? Prettify<Omit<Source, keyof StateSource<State>> & WritableStateSource<State>> : never;
export declare function unprotected<Source extends StateSource<object>>(source: Source): UnprotectedSource<Source>;
export {};