@jameslnewell/buildkite-pipelines
Version:
Generate Buildkite pipelines from code.
19 lines (18 loc) • 400 B
TypeScript
export interface LabelBuilder {
getLabel(): string | undefined;
/**
* @deprecated Use .setLabel() instead
*/
label(label: string): this;
setLabel(label: string): this;
}
export declare class LabelHelper {
#private;
getLabel(): string | undefined;
setLabel(label: string): void;
build(): {
label: string;
} | {
label?: undefined;
};
}