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