mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
JQuery.one can omit selector. (like JQuery.on)
This commit is contained in:
1 parent
44a5ac12c6
commit
6b7657b69d
1 file changed
+1
-1
Vendored
+1
-1
@@ -2806,7 +2806,7 @@ interface JQuery {
|
||||
* @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.
|
||||
* @param data Data to be passed to the handler in event.data when an event occurs.
|
||||
*/
|
||||
one(events: { [key: string]: any; }, selector?: string, data?: any): JQuery;
|
||||
one(events: { [key: string]: any; }, selector?: any, data?: any): JQuery;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user