Skip to content

Commit 2d9b130

Browse files
committed
Update the ts for paramter interface
1 parent 28fda83 commit 2d9b130

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

types/parameter.d.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,16 +261,15 @@ declare module 'rclnodejs' {
261261
/**
262262
*
263263
*/
264-
class IntegerRange extends FloatingPointRange {
264+
class IntegerRange extends Range {
265265
/**
266266
* Create a new instance.
267267
* @constructor
268-
* @param {number} fromValue - The lowest inclusive value in range
269-
* @param {number} toValue - The highest inclusive value in range
270-
* @param {number} step - The internal unit size.
271-
* @param {number} tolerance - The plus/minus tolerance for number equivalence.
268+
* @param {bigint} fromValue - The lowest inclusive value in range
269+
* @param {bigint} toValue - The highest inclusive value in range
270+
* @param {bigint} step - The internal unit size.
272271
*/
273-
constructor(from: number, to: number, step?: number, tolerance?: number);
272+
constructor(from: bigint, to: bigint, step?: bigint);
274273

275274
/**
276275
* Determine if a ParameterType is compatible.

0 commit comments

Comments
 (0)