mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 11:07:32 +08:00
Update index.d.ts
Added Window to selector_object_callback type so $(window) is possible
This commit is contained in:
2
types/jquery/index.d.ts
vendored
2
types/jquery/index.d.ts
vendored
@@ -152,7 +152,7 @@ interface JQueryStatic<TElement extends Node = HTMLElement> {
|
||||
* @since 1.4
|
||||
*/
|
||||
(selector_object_callback?: JQuery.Selector | JQuery.htmlString | JQuery.TypeOrArray<Element> | JQuery |
|
||||
JQuery.PlainObject |
|
||||
JQuery.PlainObject | Window |
|
||||
((this: Document, $: JQueryStatic<TElement>) => void)): JQuery<TElement>;
|
||||
/**
|
||||
* A multi-purpose callbacks list object that provides a powerful way to manage callback lists.
|
||||
|
||||
Reference in New Issue
Block a user