webix
webix copied to clipboard
Default values in TS declaration files
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