Function: defineAddon()
defineAddon<
AddonOptions
>(addonFunc
): (addonOptions
?,valaxyOptions
?) =>ValaxyAddon
<Record
<string
,any
>> &object
Type Parameters
• AddonOptions = object
Parameters
addonFunc
(addonOptions
?, valaxyOptions
?) => ValaxyAddon
<Record
<string
, any
>> & object
Returns
Function
Parameters
addonOptions?
AddonOptions
valaxyOptions?
ResolvedValaxyOptions
<Config
>
Returns
ValaxyAddon
<Record
<string
, any
>> & object