Function: defineValaxyAddon()
defineValaxyAddon<
AddonOptions
>(addonFunc
): (addonOptions
?,valaxyOptions
?) =>ValaxyAddon
<Record
<string
,any
>> &object
Defined in: packages/valaxy/node/config/addon.ts:8
Type Parameters
AddonOptions
AddonOptions
= object
Parameters
addonFunc
(addonOptions
?, valaxyOptions
?) => ValaxyAddon
<Record
<string
, any
>> & object
Returns
(
addonOptions
?,valaxyOptions
?):ValaxyAddon
<Record
<string
,any
>> &object
Parameters
addonOptions?
AddonOptions
valaxyOptions?
ResolvedValaxyOptions
<Config
>
Returns
ValaxyAddon
<Record
<string
, any
>> & object