@jameslnewell/buildkite-pipelines
Version:
Generate Buildkite pipelines from code.
19 lines (18 loc) • 444 B
TypeScript
export interface BranchFilterBuilder {
getBranches(): ReadonlyArray<string>;
/**
* @deprecated Use .addBranch() instead
*/
branch(pattern: string): this;
addBranch(pattern: string): this;
}
export declare class BranchFilterHelper {
#private;
getBranches(): ReadonlyArray<string>;
addBranch(pattern: string): void;
build(): {
branches: string[];
} | {
branches?: undefined;
};
}