@witchcraft/spellcraft
Github
Issues
npm
Preparing search index...
types/manager
OnHook
Type Alias OnHook<TBase, T, TKey, TVal>
OnHook
:
(
obj
:
TBase
,
key
:
TKey
,
val
:
TVal
)
=>
void
Type Parameters
TBase
T
extends
Record
<
string
,
{
val
:
any
}
>
TKey
extends
keyof
T
=
keyof
T
TVal
extends
T
[
TKey
]
[
"val"
]
=
T
[
TKey
]
[
"val"
]
Type Declaration
(
obj
:
TBase
,
key
:
TKey
,
val
:
TVal
)
:
void
Parameters
obj
:
TBase
key
:
TKey
val
:
TVal
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
Issues
npm
@witchcraft/spellcraft
Loading...