@jameslnewell/buildkite-pipelines
Version:
Generate Buildkite pipelines from code.
19 lines (18 loc) • 438 B
TypeScript
export interface ConditionBuilder {
getCondition(): string | undefined;
/**
* @deprecated Use .setCondition() instead
*/
condition(condition: string): this;
setCondition(condition: string): this;
}
export declare class ConditionHelper {
#private;
getCondition(): string | undefined;
setCondition(condition: string): void;
build(): {
if: string;
} | {
if?: undefined;
};
}