Field Notes
Field Notes home
Docs
Playground
Preparing search index...
@fieldnotes/sync
createAuthorityExtensionReducer
Function createAuthorityExtensionReducer
createAuthorityExtensionReducer
<
TState
,
TPayload
>
(
definition
:
{
kind
:
ExtensionKind
<
TPayload
>
;
reduce
:
(
state
:
AuthorityReadonly
<
NoInfer
<
TState
>
>
,
payload
:
AuthorityReadonly
<
TPayload
>
,
)
=>
TState
;
}
,
)
:
AuthorityExtensionReducer
<
TState
>
Type Parameters
TState
TPayload
Parameters
definition
:
{
kind
:
ExtensionKind
<
TPayload
>
;
reduce
:
(
state
:
AuthorityReadonly
<
NoInfer
<
TState
>
>
,
payload
:
AuthorityReadonly
<
TPayload
>
,
)
=>
TState
;
}
Returns
AuthorityExtensionReducer
<
TState
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Field Notes home
Docs
Playground
Field Notes
Loading...