mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
$$() returns webix.ui.baseview instead of webix.ui.view
Reason :
if you call $$('layoutId'), webix returns a webix.ui.baselayout
baselayout and all views are based on baseview
==> baseview is thus a more generic typing
This commit is contained in:
2
webix/webix.d.ts
vendored
2
webix/webix.d.ts
vendored
@@ -7530,4 +7530,4 @@ interface window extends webix.ui.baseview{
|
||||
|
||||
}}
|
||||
|
||||
declare function $$(id: string|Event|HTMLElement):webix.ui.view;
|
||||
declare function $$(id: string|Event|HTMLElement):webix.ui.baseview;
|
||||
|
||||
Reference in New Issue
Block a user