From bd9f31119cb1947f7638dd2ebb96e992df737d9c Mon Sep 17 00:00:00 2001 From: navels Date: Mon, 9 Oct 2017 16:08:03 -0700 Subject: [PATCH] Make dijit.Tooltip show and hide methods static. Fixes #16303. (#20263) * Make dijit.Tooltip show and hide methods static. Fixes #16303. * Revert unintended deletion of type reference. * Move type reference back to the correct file. --- types/dojo/dijit.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/dojo/dijit.d.ts b/types/dojo/dijit.d.ts index 3c2d892471..b22742b85d 100644 --- a/types/dojo/dijit.d.ts +++ b/types/dojo/dijit.d.ts @@ -29946,7 +29946,7 @@ declare module dijit { * * @param aroundNode */ - hide(aroundNode: any): any; + static hide(aroundNode: any): any; /** * Return true if this widget can currently be focused * and false if not @@ -30107,7 +30107,7 @@ declare module dijit { * @param rtl OptionalCorresponds to WidgetBase.dir attribute, where false means "ltr" and truemeans "rtl"; specifies GUI direction, not text direction. * @param textDir OptionalCorresponds to WidgetBase.textdir attribute; specifies direction of text. */ - show(innerHTML: String, aroundNode: Object, position: String[], rtl: boolean, textDir: String): any; + static show(innerHTML: String, aroundNode: Object, position?: String[], rtl?: boolean, textDir?: String): any; /** * */ @@ -106941,4 +106941,4 @@ declare module "dijit/ConfirmDialog" { declare module "dijit/_ConfirmDialogMixin" { var exp: typeof dijit._ConfirmDialogMixin; export=exp; -} \ No newline at end of file +}