amis-rpc-design/node_modules/@react-native-community/cli-tools/build/releaseChecker/getLatestRelease.d.ts
2023-10-07 19:42:30 +08:00

14 lines
485 B
TypeScript

export type Release = {
version: 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