2017-08-17 14:15:47 +00:00
|
|
|
import { SemVer } from 'semver';
|
|
|
|
export declare class SmartVersion {
|
|
|
|
semver: SemVer;
|
2017-08-18 08:58:00 +00:00
|
|
|
versionString: string;
|
2017-08-17 14:15:47 +00:00
|
|
|
update: {
|
|
|
|
patch: () => void;
|
|
|
|
minor: () => void;
|
|
|
|
major: () => void;
|
|
|
|
};
|
|
|
|
constructor(semVerStringArg: string);
|
|
|
|
readonly major: number;
|
|
|
|
readonly minor: number;
|
|
|
|
readonly patch: number;
|
2017-08-18 08:58:00 +00:00
|
|
|
greaterThanString(versionStringArg: any): boolean;
|
|
|
|
lessThanString(versionStringArg: any): boolean;
|
2017-08-17 14:15:47 +00:00
|
|
|
}
|