UNPKG

@ts-fluentvalidation/core

Version:

Core library of @ts-fluentvalidation providing validations in a fluent syntax.

24 lines 677 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VERSION = void 0; /** * Represents a version number. */ class Version { /** * Creates a new instance of the Version class. * @param fullVersion - The full version number in the format "major.minor.patch". */ constructor(fullVersion) { this.fullVersion = fullVersion; const [major, minor, patch] = fullVersion.split('.'); this.major = major; this.minor = minor; this.patch = patch; } } /** * Represents the current version of the library. */ exports.VERSION = new Version('1.0.0-rc.3'); //# sourceMappingURL=version.js.map