webix icon indicating copy to clipboard operation
webix copied to clipboard

Default values in TS declaration files

Open Yoha485 opened this issue 2 years ago • 0 comments

Issue

webix.d.ts does not provide many default values for methods even though the default values presented in Webix documentation

Example with webix.ui.datatable parse method

dataPromise().then(data => datatable.parse(data, 'json')) parse forces you to pass 'json' as the second parameter but it's written that 'json' is default value in the documentation

Ref to datatable parse documentation: https://docs.webix.com/api__link__ui.datatable_parse.html Screenshot of actual webix.d.ts file: https://imgur.com/a/cXQgqNE

Yoha485 avatar Oct 19 '22 15:10 Yoha485