UNPKG

1.12 kBJavaScriptView Raw
1"use strict";
2/**
3 * -------------------------------------------------------------------------------------------
4 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
5 * See License in the project root for license information.
6 * -------------------------------------------------------------------------------------------
7 */
8Object.defineProperty(exports, "__esModule", { value: true });
9/**
10 * @module Range
11 */
12/**
13 * @class
14 * Class representing Range
15 */
16var Range = /** @class */ (function () {
17 /**
18 * @public
19 * @constructor
20 * Creates a range for given min and max values
21 * @param {number} [minVal = -1] - The minimum value.
22 * @param {number} [maxVal = -1] - The maximum value.
23 * @returns An instance of a Range
24 */
25 function Range(minVal, maxVal) {
26 if (minVal === void 0) { minVal = -1; }
27 if (maxVal === void 0) { maxVal = -1; }
28 this.minValue = minVal;
29 this.maxValue = maxVal;
30 }
31 return Range;
32}());
33exports.Range = Range;
34//# sourceMappingURL=Range.js.map
\No newline at end of file