Skip to content

Variable: defineAddon()

const defineAddon: <AddonOptions>(addonFunc) => (addonOptions?, valaxyOptions?) => ValaxyAddon<Record<string, any>> & object = defineValaxyAddon

Defined in: packages/valaxy/node/config/addon.ts:15

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