From ccdf2ae2d719f78c82485acf5e2b98db23ebd7c9 Mon Sep 17 00:00:00 2001 From: Pascal Thomet Date: Wed, 15 Apr 2015 13:56:29 +0200 Subject: [PATCH] $$() 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 --- webix/webix.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webix/webix.d.ts b/webix/webix.d.ts index 561cd12422..8e5c89ed19 100644 --- a/webix/webix.d.ts +++ b/webix/webix.d.ts @@ -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;