mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 08:52:59 +00:00
17 lines
423 B
TypeScript
17 lines
423 B
TypeScript
import Config from './config';
|
|
export type VersionMangerProps = {
|
|
config: Config;
|
|
};
|
|
declare class VersionManger {
|
|
private config;
|
|
constructor(props: VersionMangerProps);
|
|
update(version: string): Promise<void>;
|
|
compare(version: string): {
|
|
currentVersion: string;
|
|
nextVersion: string;
|
|
breakingChange: boolean;
|
|
shouldUpdate: boolean;
|
|
};
|
|
}
|
|
export default VersionManger;
|