@featurevisor/sdk
Version:
Featurevisor SDK for Node.js and the browser
5 lines (4 loc) • 329 B
TypeScript
export declare const semver: RegExp;
export declare const validateAndParse: (version: string) => RegExpMatchArray;
export declare const compareSegments: (a: string | string[] | RegExpMatchArray, b: string | string[] | RegExpMatchArray) => 1 | 0 | -1;
export declare const compareVersions: (v1: string, v2: string) => 1 | 0 | -1;