Webix and Typescript: Why 'body' is of type webix.ui.baseview?

Why ‘body’ (e.g in webix.ui.portletConfig) is of type webix.ui.baseview ?
Shouldn’t that be of type webix.ui.baseviewConfig ?
Right now I need to use ‘as unknown as’ method to turn off typescript complains…

But maybe I’m doing something wrong :slight_smile: