UNPKG

@pnpm/git-resolver

Version:
15 lines (14 loc) 401 B
export declare type HostedPackageSpec = ({ fetchSpec: string; hosted?: { type: string; user: string; project: string; committish: string; tarball: () => string | undefined; }; normalizedPref: string; gitCommittish: string | null; gitRange?: string; }); export default function parsePref(pref: string): Promise<HostedPackageSpec | null>;