UNPKG

@chatie/semver

Version:

The Enhanced Semantic Versioner for NPM

14 lines 501 B
/** * Author: Huan LI <zixia@zixia.net> * https://github.com/huan * License: Apache-2.0 */ import { SemVer as SemVerBase, Options as SemVerOptions } from 'semver'; export declare function prod(version: string | SemVer): boolean; export declare function dev(version: string): boolean; export declare class SemVer extends SemVerBase { isProd: boolean; isDev: boolean; constructor(version: string | SemVer, optionsOrLoose?: boolean | SemVerOptions); } //# sourceMappingURL=semver.d.ts.map