fetch-github-release
Version:
Fetch binary from Github releases for your platform
9 lines (8 loc) • 347 B
TypeScript
import { RepoInfo } from './types';
interface IsUpdateAvailableOptions extends RepoInfo {
currentVersion: string;
accessToken?: string;
}
export declare function isUpdateAvailable(options: IsUpdateAvailableOptions): Promise<boolean>;
export declare function newerVersion(latestVersion: string, currentVersion: string): boolean;
export {};