mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
dojo/query - fixed incorrect return type
Return type updated as per documentation: http://dojotoolkit.org/reference-guide/1.10/dojo/query.html
This commit is contained in:
Vendored
+2
-2
@@ -1671,7 +1671,7 @@ declare module dojo {
|
||||
* @param selector A CSS selector to search for.
|
||||
* @param context OptionalAn optional context to limit the searching scope. Only nodes under context will bescanned.
|
||||
*/
|
||||
interface query{(selector: String, context?: String): void}
|
||||
interface query{(selector: String, context?: String): NodeList}
|
||||
/**
|
||||
* Permalink: http://dojotoolkit.org/api/1.9/dojo/query.html
|
||||
*
|
||||
@@ -1713,7 +1713,7 @@ declare module dojo {
|
||||
* @param selector A CSS selector to search for.
|
||||
* @param context OptionalAn optional context to limit the searching scope. Only nodes under context will bescanned.
|
||||
*/
|
||||
interface query{(selector: String, context?: HTMLElement): void}
|
||||
interface query{(selector: String, context?: HTMLElement): NodeList}
|
||||
interface query {
|
||||
/**
|
||||
* can be used as AMD plugin to conditionally load new query engine
|
||||
|
||||
Reference in New Issue
Block a user