mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Changed return type for registry.byId()
This commit is contained in:
Vendored
+5
-5
@@ -34291,7 +34291,7 @@ declare module dijit {
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
byId(id: String): any;
|
||||
byId(id: String): dijit._WidgetBase;
|
||||
/**
|
||||
* A synthetic clone of array.every acting explicitly on this WidgetSet
|
||||
*
|
||||
@@ -105714,14 +105714,14 @@ declare module dijit {
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
byId(id: String): String;
|
||||
byId(id: String): dijit._WidgetBase;
|
||||
/**
|
||||
* Find a widget by it's id.
|
||||
* If passed a widget then just returns the widget.
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
byId(id: dijit._WidgetBase): String;
|
||||
byId(id: dijit._WidgetBase): dijit._WidgetBase;
|
||||
/**
|
||||
* Returns the widget corresponding to the given DOMNode
|
||||
*
|
||||
@@ -105956,14 +105956,14 @@ declare module dijit {
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
byId(id: String): String;
|
||||
byId(id: String): dijit._WidgetBase;
|
||||
/**
|
||||
* Find a widget by it's id.
|
||||
* If passed a widget then just returns the widget.
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
byId(id: dijit._WidgetBase): String;
|
||||
byId(id: dijit._WidgetBase): dijit._WidgetBase;
|
||||
/**
|
||||
* Returns the widget corresponding to the given DOMNode
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user