UNPKG
@ngrx/signals
Version:
latest (20.0.1)
next (20.0.0-rc.0)
20.0.1
20.0.0
20.0.0-rc.0
20.0.0-beta.0
19.2.1
19.2.0
19.1.0
19.0.1
19.0.0
19.0.0-rc.0
19.0.0-beta.0
18.1.1
18.1.0
18.0.2
18.0.0
18.0.0-rc.3
18.0.0-rc.2
18.0.0-rc.1
18.0.0-rc.0
18.0.0-beta.1
18.0.0-beta.0
17.2.0
17.1.1
17.1.0
17.0.1
17.0.0
17.0.0-rc.0
17.0.0-beta.0
Reactive Store and Set of Utilities for Angular Signals
github.com/ngrx/platform
ngrx/platform
@ngrx/signals
/
src
/
signal-state.d.ts
5 lines
(4 loc)
•
294 B
TypeScript
View Raw
1
2
3
4
5
import
{
DeepSignal
}
from
'./deep-signal'
;
import
{
WritableStateSource
}
from
'./state-source'
;
export
type
SignalState
<
State
extends
object
> =
DeepSignal
<
State
> &
WritableStateSource
<
State
>;
export
declare
function
signalState<
State
extends
object
>(
initialState
:
State
):
SignalState
<
State
>;