@types/jquery 3.5.16 → 3.5.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- jquery/JQuery.d.ts +1 -1
- jquery/JQueryStatic.d.ts +5 -5
- jquery/README.md +1 -1
- jquery/misc.d.ts +2 -2
- jquery/package.json +3 -3
jquery/JQuery.d.ts
CHANGED
|
@@ -8705,7 +8705,7 @@ $( "span" ).click(function() {
|
|
|
8705
8705
|
*/
|
|
8706
8706
|
parents<K extends keyof HTMLElementTagNameMap>(selector: K | JQuery<K>): JQuery<HTMLElementTagNameMap[K]>;
|
|
8707
8707
|
parents<K extends keyof SVGElementTagNameMap>(selector: K | JQuery<K>): JQuery<SVGElementTagNameMap[K]>;
|
|
8708
|
-
// eslint-disable-next-line no-unnecessary-generics
|
|
8708
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
8709
8709
|
parents<E extends HTMLElement>(selector?: JQuery.Selector): JQuery<E>;
|
|
8710
8710
|
/**
|
|
8711
8711
|
* Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
|
jquery/JQueryStatic.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ $( "<div/>", {
|
|
|
97
97
|
.appendTo( "body" );
|
|
98
98
|
```
|
|
99
99
|
*/
|
|
100
|
-
// eslint-disable-next-line no-unnecessary-generics
|
|
100
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
101
101
|
<TElement extends HTMLElement = HTMLElement>(html: JQuery.htmlString, ownerDocument_attributes?: Document | JQuery.PlainObject): JQuery<TElement>;
|
|
102
102
|
/**
|
|
103
103
|
* Accepts a string containing a CSS selector which is then used to match a set of elements.
|
|
@@ -136,7 +136,7 @@ $( "div", xml.responseXML );
|
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
*/
|
|
139
|
-
// eslint-disable-next-line no-unnecessary-generics
|
|
139
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
140
140
|
<TElement extends Element = HTMLElement>(selector: JQuery.Selector, context?: Element | Document | JQuery | JQuery.Selector): JQuery<TElement>;
|
|
141
141
|
/**
|
|
142
142
|
* Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string.
|
|
@@ -193,10 +193,10 @@ jQuery(function( $ ) {
|
|
|
193
193
|
});
|
|
194
194
|
```
|
|
195
195
|
*/
|
|
196
|
-
/* eslint-disable no-unnecessary-generics */
|
|
196
|
+
/* eslint-disable @definitelytyped/no-unnecessary-generics */
|
|
197
197
|
// tslint:disable-next-line:unified-signatures
|
|
198
198
|
<TElement = HTMLElement>(callback: ((this: Document, $: JQueryStatic) => void)): JQuery<TElement>;
|
|
199
|
-
/* eslint-enable no-unnecessary-generics */
|
|
199
|
+
/* eslint-enable @definitelytyped/no-unnecessary-generics */
|
|
200
200
|
/**
|
|
201
201
|
* Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string.
|
|
202
202
|
* @param object A plain object to wrap in a jQuery object.
|
|
@@ -209,7 +209,7 @@ jQuery(function( $ ) {
|
|
|
209
209
|
* @see \`{@link https://api.jquery.com/jQuery/ }\`
|
|
210
210
|
* @since 1.4
|
|
211
211
|
*/
|
|
212
|
-
// eslint-disable-next-line no-unnecessary-generics
|
|
212
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
213
213
|
<TElement = HTMLElement>(): JQuery<TElement>;
|
|
214
214
|
/**
|
|
215
215
|
* Perform an asynchronous HTTP (Ajax) request.
|
jquery/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for jquery (https://jquery.com).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 22 Aug 2023 18:04:25 GMT
|
|
12
12
|
* Dependencies: [@types/sizzle](https://npmjs.com/package/@types/sizzle)
|
|
13
13
|
* Global values: `$`, `Symbol`, `jQuery`
|
|
14
14
|
|
jquery/misc.d.ts
CHANGED
|
@@ -718,10 +718,10 @@ declare namespace JQuery {
|
|
|
718
718
|
* @see \`{@link https://api.jquery.com/jQuery.Callbacks/ }\`
|
|
719
719
|
* @since 1.7
|
|
720
720
|
*/
|
|
721
|
-
/* eslint-disable no-unnecessary-generics */
|
|
721
|
+
/* eslint-disable @definitelytyped/no-unnecessary-generics */
|
|
722
722
|
// tslint:disable-next-line:ban-types
|
|
723
723
|
<T extends Function>(flags?: string): Callbacks<T>;
|
|
724
|
-
/* eslint-enable no-unnecessary-generics */
|
|
724
|
+
/* eslint-enable @definitelytyped/no-unnecessary-generics */
|
|
725
725
|
}
|
|
726
726
|
|
|
727
727
|
// tslint:disable-next-line:ban-types
|
jquery/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/jquery",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.17",
|
|
4
4
|
"description": "TypeScript definitions for jquery",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery",
|
|
6
6
|
"license": "MIT",
|
|
@@ -127,6 +127,6 @@
|
|
|
127
127
|
"dependencies": {
|
|
128
128
|
"@types/sizzle": "*"
|
|
129
129
|
},
|
|
130
|
-
"typesPublisherContentHash": "
|
|
131
|
-
"typeScriptVersion": "4.
|
|
130
|
+
"typesPublisherContentHash": "e4e5089270d700209349823a63080645ddd91f754de89030bf4f020e7435b63a",
|
|
131
|
+
"typeScriptVersion": "4.3"
|
|
132
132
|
}
|