undedoloremque
Version:
Green Field JS SDK
16 lines (14 loc) • 352 B
TypeScript
declare module 'download-git-repo' {
interface Options {
clone?: boolean;
headers?: Record<string, string>;
}
function download(repo: string, dest: string, opts: Options): Promise<void>;
function download(
repo: string,
dest: string,
opts: Options,
cb: (err?: Error) => void,
): Promise<void>;
export = download;
}