UNPKG

946 BTypeScriptView Raw
1/**
2 * -------------------------------------------------------------------------------------------
3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
4 * See License in the project root for license information.
5 * -------------------------------------------------------------------------------------------
6 */
7/**
8 * @module Range
9 */
10/**
11 * @class
12 * Class representing Range
13 */
14export declare class Range {
15 /**
16 * @public
17 * The minimum value of the range
18 */
19 minValue: number;
20 /**
21 * @public
22 * The maximum value of the range
23 */
24 maxValue: number;
25 /**
26 * @public
27 * @constructor
28 * Creates a range for given min and max values
29 * @param {number} [minVal = -1] - The minimum value.
30 * @param {number} [maxVal = -1] - The maximum value.
31 * @returns An instance of a Range
32 */
33 constructor(minVal?: number, maxVal?: number);
34}