UNPKG

488 BTypeScriptView Raw
1export declare type Release = {
2 version: string;
3 changelogUrl: string;
4 diffUrl: string;
5};
6/**
7 * Checks via GitHub API if there is a newer stable React Native release and,
8 * if it exists, returns the release data.
9 *
10 * If the latest release is not newer or if it's a prerelease, the function
11 * will return undefined.
12 */
13export default function getLatestRelease(name: string, currentVersion: string): Promise<Release | void>;
14//# sourceMappingURL=getLatestRelease.d.ts.map
\No newline at end of file