t-comm
Version:
专业、稳定、纯粹的工具库
15 lines (14 loc) • 457 B
TypeScript
import { removeFirstAndLastSlash } from '../slash/slash';
export declare const rmFirstAndLastSlash: typeof removeFirstAndLastSlash;
export declare function getGitCodeLink({ domain, repo, branch, localFile, line, }: {
domain: string;
repo: string;
branch: string;
localFile: string;
line: string;
}): string;
export declare function getGitMRLink({ domain, repo, id, }: {
domain: string;
repo: string;
id?: string;
}): string;