Field Notes
Field Notes home
Docs
Playground
Preparing search index...
@fieldnotes/sync
createAuthorityClientExtension
Function createAuthorityClientExtension
createAuthorityClientExtension
<
TState
>
(
definition
:
{
key
:
string
;
legacyReducers
?:
readonly
AuthorityLegacyExtensionReducer
<
TState
>
[]
;
pluginName
:
string
;
reducers
:
readonly
AuthorityExtensionReducer
<
TState
>
[]
;
validate
:
(
data
:
unknown
)
=>
data
is
TState
;
version
:
number
;
}
,
)
:
AuthorityClientExtension
<
TState
>
Type Parameters
TState
Parameters
definition
:
{
key
:
string
;
legacyReducers
?:
readonly
AuthorityLegacyExtensionReducer
<
TState
>
[]
;
pluginName
:
string
;
reducers
:
readonly
AuthorityExtensionReducer
<
TState
>
[]
;
validate
:
(
data
:
unknown
)
=>
data
is
TState
;
version
:
number
;
}
Returns
AuthorityClientExtension
<
TState
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Field Notes home
Docs
Playground
Field Notes
Loading...