react-native-get-pixel_edit/node_modules/@react-native-community/cli-tools/build/releaseChecker/getLatestRelease.d.ts
2025-07-09 11:41:52 +09:00

15 lines
508 B
TypeScript

export type Release = {
stable: string;
candidate?: string;
changelogUrl: string;
diffUrl: string;
};
/**
* Checks via GitHub API if there is a newer stable React Native release and,
* if it exists, returns the release data.
*
* If the latest release is not newer or if it's a prerelease, the function
* will return undefined.
*/
export default function getLatestRelease(name: string, currentVersion: string): Promise<Release | undefined>;
//# sourceMappingURL=getLatestRelease.d.ts.map