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

21 lines
679 B
TypeScript

import { SemVer } from 'semver';
import { Release } from './getLatestRelease';
/**
* Logs out a message if the user's version is behind a stable version of React Native
*/
export declare function logIfUpdateAvailable(projectRoot: string): Promise<void>;
type Update = {
upgrade: Release;
current: string;
name: string;
};
/**
* Finds the latest stables version of React Native > current version
*/
export declare function latest(projectRoot: string): Promise<Update | undefined>;
/**
* Gets the current project's version parsed as Semver
*/
export declare function current(projectRoot: string): SemVer | undefined;
export {};
//# sourceMappingURL=index.d.ts.map