1 | ;
|
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 | */
|
8 | Object.defineProperty(exports, "__esModule", { value: true });
|
9 | exports.Range = void 0;
|
10 | /**
|
11 | * @module Range
|
12 | */
|
13 | /**
|
14 | * @class
|
15 | * Class representing Range
|
16 | */
|
17 | var Range = /** @class */ (function () {
|
18 | /**
|
19 | * @public
|
20 | * @constructor
|
21 | * Creates a range for given min and max values
|
22 | * @param {number} [minVal = -1] - The minimum value.
|
23 | * @param {number} [maxVal = -1] - The maximum value.
|
24 | * @returns An instance of a Range
|
25 | */
|
26 | function Range(minVal, maxVal) {
|
27 | if (minVal === void 0) { minVal = -1; }
|
28 | if (maxVal === void 0) { maxVal = -1; }
|
29 | this.minValue = minVal;
|
30 | this.maxValue = maxVal;
|
31 | }
|
32 | return Range;
|
33 | }());
|
34 | exports.Range = Range;
|
35 | //# sourceMappingURL=Range.js.map |
\ | No newline at end of file |