UNPKG

@dolittle/sdk.execution

Version:

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

33 lines 1.11 kB
/** * Represents a version number adhering to the SemVer 2.0 standard. */ export declare class Version { readonly major: number; readonly minor: number; readonly patch: number; readonly build: number; readonly preReleaseString: string; /** * Initializes a new instance of {@link Version}. * @param {number} major - Major version of the software. * @param {number} minor - Minor version of the software. * @param {number} patch - Path level of the software. * @param {number} build - Builder number of the software. * @param {string} [preReleaseString] - If prerelease - the prerelease string. */ constructor(major: number, minor: number, patch: number, build: number, preReleaseString?: string); /** * Gets a {Version} that is not set. */ static readonly notSet: Version; /** * First version. */ static readonly first: Version; /** * Converts the {@link Version} to a string. * @returns {string} The version as a string. */ toString(): string; } //# sourceMappingURL=Version.d.ts.map