mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+5
-5
@@ -10,11 +10,11 @@ declare module 'eqjs' {
|
||||
export = eqjs;
|
||||
}
|
||||
|
||||
declare module eq {
|
||||
declare namespace eq {
|
||||
type AvailableElementType = HTMLElement|HTMLElement[]|NodeList|JQuery;
|
||||
|
||||
interface EqjsStatic {
|
||||
|
||||
|
||||
/**
|
||||
* List of all nodes.
|
||||
*/
|
||||
@@ -27,7 +27,7 @@ declare module eq {
|
||||
|
||||
/**
|
||||
* Runs through all nodes and finds their widths and points
|
||||
* @param nodes
|
||||
* @param nodes
|
||||
* @param callback function to use as a callback once query and nodeWrites have finished
|
||||
*/
|
||||
query(nodes: AvailableElementType, callback?: Function): void;
|
||||
@@ -47,7 +47,7 @@ declare module eq {
|
||||
/**
|
||||
* Runs through all nodes and writes their eq status.
|
||||
* @param nodes An array or NodeList of nodes to query
|
||||
* @returns {}
|
||||
* @returns {}
|
||||
*/
|
||||
nodeWrites(nodes?: AvailableElementType): void;
|
||||
}
|
||||
@@ -64,4 +64,4 @@ declare module eq {
|
||||
}
|
||||
|
||||
// Support jQuery selectors.
|
||||
interface JQuery { }
|
||||
interface JQuery { }
|
||||
|
||||
Reference in New Issue
Block a user