Having some trouble with error TS2683 when using webix(5.4.0) + typescript(3.1.1) in strict mode.
($$('DATE') as webix.ui.datepicker).attachEvent('onChange', function() {
let val:any = this.getValue() // or let val = ... without any
// this:this??? () = > not suit for me, btw
...
}
The error message reads:
'this' implicity has type 'any' because it doesn't have a type annotation.
After checking How to access the correct `this` inside a callback? I realized that most solutions focus on outer this handling, but I need guidance on declaring inner this type. Any suggestions on how to proceed?