the above is invalid because required accepts boolean only and not object.
kendo.d.ts
interface DataSourceSchemaModelFieldValidation {
required?: boolean;
min?: any;
max?: any;
minLength?: any;
maxLength?: any;
[rule: string]: any;
}
and is not the best solution to work with any data type when using typescript as when defining a model in datasource.
0
Accepted
Viktor Tachev
Telerik team
answered on 19 Jan 2018, 08:23 AM
Hi John,
Thank you for reporting the behavior to us. I have logged this and we will update the TypeScript definitions as soon as possible. Until then I can suggest modifying the Kendo typescript file locally so that there is no error when using custom messages.
As a token of gratitude for reporting this to us I have updated your Telerik points.