TypeScript webix.rules.isNumber defined without any argument

Hello all!
I’m trying do define custom validation rule for
webix.ui.text

using
webix.rules.isNumber
built-in validator, but I see the next rules definitions in the webix.d.ts

interface rules{
isChecked():boolean;
isEmail():boolean;
isNotEmpty():boolean;
isNumber():boolean;
}

So, by this definition, no one built-in validator receives any argument.
Is it normal situation?
If so, how can I use the webix.rules.isNumber validator in a typescript environment?

Hello,

Yep, all the built-in functions receive the value parameter. We will update the definitions in the next release. For now, as the isNumber rule is rather simple, you can just apply its logic in your custom function:

isNumber: function(value){
     return (parseFloat(value) == value);
}

Hello Helga.
Thanks a lot for your explanation!