Skip to main content

Home > @rushstack/heft > ICustomActionParameter

ICustomActionParameter type

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.


export declare type ICustomActionParameter<TParameter> = TParameter extends boolean ? ICustomActionParameterFlag : TParameter extends number ? ICustomActionParameterInteger : TParameter extends string ? ICustomActionParameterString : TParameter extends ReadonlyArray<string> ? ICustomActionParameterStringList : never;

References: ICustomActionParameterFlag, ICustomActionParameterInteger, ICustomActionParameterString, ICustomActionParameterStringList