Field Notes
Field Notes home
Docs
Playground
Preparing search index...
@fieldnotes/sync
createAuthorityLegacyExtensionReducer
Function createAuthorityLegacyExtensionReducer
createAuthorityLegacyExtensionReducer
<
TState
,
K
extends
LegacyKind
>
(
definition
:
{
kind
:
K
;
reduce
:
(
state
:
AuthorityReadonly
<
NoInfer
<
TState
>
>
,
mutation
:
AuthorityReadonly
<
LegacyMutation
<
K
>
>
,
)
=>
TState
;
}
,
)
:
AuthorityLegacyExtensionReducer
<
TState
>
Type Parameters
TState
K
extends
LegacyKind
Parameters
definition
:
{
kind
:
K
;
reduce
:
(
state
:
AuthorityReadonly
<
NoInfer
<
TState
>
>
,
mutation
:
AuthorityReadonly
<
LegacyMutation
<
K
>
>
,
)
=>
TState
;
}
Returns
AuthorityLegacyExtensionReducer
<
TState
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Field Notes home
Docs
Playground
Field Notes
Loading...