ApplyOptions

export declare function ApplyOptions<Options extends ApplyOptionTypes, Client extends IgloClient = IgloClient>(result: ApplyOptionsParam<Options>): ClassDecorator

Description

Applies the ConstructorOptions to a Command | EventListener extended class

Type Parameters

nameConstraintoptionaldefault
OptionsApplyOptionTypesNo-
ClientIgloClientYesIgloClient

Parameters

nametypeoptionaldescription
resultApplyOptionsParam<Options>NoThe ConstructorOptions or a function to get the ConstructorOptions from