UNPKG
@snipsonian/observable-state
Version:
latest (4.1.0)
4.1.0
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.2
2.1.0
2.0.0
1.13.0
1.12.0
1.11.0
1.9.1
1.9.0
Observable-state snippets (redux-like)
@snipsonian/observable-state
/
es
/
store
/
createObservableStateStore.d.ts
3 lines
(2 loc)
•
276 B
TypeScript
View Raw
1
2
3
import
{
IObservableStateStore
,
IObservableStateStoreConfig
}
from
'./types'
;
export
default
function
createObservableStateStore<
State
,
StateChangeNotificationKey
=
string
>(
config
:
IObservableStateStoreConfig
<
State
>):
IObservableStateStore
<
State
,
StateChangeNotificationKey
>;