UNPKG

@elsikora/git-branch-lint

Version:
14 lines (13 loc) 407 B
import type { IBranchRepository } from "../../domain/interface/branch.repository.interface"; /** * Use case for getting the current branch name */ export declare class GetCurrentBranchUseCase { private readonly branchRepository; constructor(branchRepository: IBranchRepository); /** * Execute the use case * @returns The current branch name */ execute(): Promise<string>; }