@types/jquery 3.5.16 → 3.5.18
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 -2
- jquery/JQueryStatic.d.ts +5 -6
- jquery/README.md +1 -1
- jquery/misc.d.ts +2 -3
- jquery/package.json +3 -3
jquery/JQuery.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// tslint:disable:jsdoc-format
|
|
2
|
-
// tslint:disable:max-line-length
|
|
3
2
|
// tslint:disable:no-irregular-whitespace
|
|
4
3
|
|
|
5
4
|
interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
@@ -8705,7 +8704,7 @@ $( "span" ).click(function() {
|
|
|
8705
8704
|
*/
|
|
8706
8705
|
parents<K extends keyof HTMLElementTagNameMap>(selector: K | JQuery<K>): JQuery<HTMLElementTagNameMap[K]>;
|
|
8707
8706
|
parents<K extends keyof SVGElementTagNameMap>(selector: K | JQuery<K>): JQuery<SVGElementTagNameMap[K]>;
|
|
8708
|
-
// eslint-disable-next-line no-unnecessary-generics
|
|
8707
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
8709
8708
|
parents<E extends HTMLElement>(selector?: JQuery.Selector): JQuery<E>;
|
|
8710
8709
|
/**
|
|
8711
8710
|
* 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
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// tslint:disable:jsdoc-format
|
|
2
|
-
// tslint:disable:max-line-length
|
|
3
2
|
// tslint:disable:no-irregular-whitespace
|
|
4
3
|
|
|
5
4
|
interface JQueryStatic {
|
|
@@ -97,7 +96,7 @@ $( "<div/>", {
|
|
|
97
96
|
.appendTo( "body" );
|
|
98
97
|
```
|
|
99
98
|
*/
|
|
100
|
-
// eslint-disable-next-line no-unnecessary-generics
|
|
99
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
101
100
|
<TElement extends HTMLElement = HTMLElement>(html: JQuery.htmlString, ownerDocument_attributes?: Document | JQuery.PlainObject): JQuery<TElement>;
|
|
102
101
|
/**
|
|
103
102
|
* Accepts a string containing a CSS selector which is then used to match a set of elements.
|
|
@@ -136,7 +135,7 @@ $( "div", xml.responseXML );
|
|
|
136
135
|
```
|
|
137
136
|
|
|
138
137
|
*/
|
|
139
|
-
// eslint-disable-next-line no-unnecessary-generics
|
|
138
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
140
139
|
<TElement extends Element = HTMLElement>(selector: JQuery.Selector, context?: Element | Document | JQuery | JQuery.Selector): JQuery<TElement>;
|
|
141
140
|
/**
|
|
142
141
|
* 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 +192,10 @@ jQuery(function( $ ) {
|
|
|
193
192
|
});
|
|
194
193
|
```
|
|
195
194
|
*/
|
|
196
|
-
/* eslint-disable no-unnecessary-generics */
|
|
195
|
+
/* eslint-disable @definitelytyped/no-unnecessary-generics */
|
|
197
196
|
// tslint:disable-next-line:unified-signatures
|
|
198
197
|
<TElement = HTMLElement>(callback: ((this: Document, $: JQueryStatic) => void)): JQuery<TElement>;
|
|
199
|
-
/* eslint-enable no-unnecessary-generics */
|
|
198
|
+
/* eslint-enable @definitelytyped/no-unnecessary-generics */
|
|
200
199
|
/**
|
|
201
200
|
* Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string.
|
|
202
201
|
* @param object A plain object to wrap in a jQuery object.
|
|
@@ -209,7 +208,7 @@ jQuery(function( $ ) {
|
|
|
209
208
|
* @see \`{@link https://api.jquery.com/jQuery/ }\`
|
|
210
209
|
* @since 1.4
|
|
211
210
|
*/
|
|
212
|
-
// eslint-disable-next-line no-unnecessary-generics
|
|
211
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
213
212
|
<TElement = HTMLElement>(): JQuery<TElement>;
|
|
214
213
|
/**
|
|
215
214
|
* 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: Fri, 01 Sep 2023 20:33:24 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
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// tslint:disable:jsdoc-format
|
|
2
|
-
// tslint:disable:max-line-length
|
|
3
2
|
// tslint:disable:no-irregular-whitespace
|
|
4
3
|
|
|
5
4
|
declare namespace JQuery {
|
|
@@ -718,10 +717,10 @@ declare namespace JQuery {
|
|
|
718
717
|
* @see \`{@link https://api.jquery.com/jQuery.Callbacks/ }\`
|
|
719
718
|
* @since 1.7
|
|
720
719
|
*/
|
|
721
|
-
/* eslint-disable no-unnecessary-generics */
|
|
720
|
+
/* eslint-disable @definitelytyped/no-unnecessary-generics */
|
|
722
721
|
// tslint:disable-next-line:ban-types
|
|
723
722
|
<T extends Function>(flags?: string): Callbacks<T>;
|
|
724
|
-
/* eslint-enable no-unnecessary-generics */
|
|
723
|
+
/* eslint-enable @definitelytyped/no-unnecessary-generics */
|
|
725
724
|
}
|
|
726
725
|
|
|
727
726
|
// 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.18",
|
|
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": "36e139c514cf8a38ecb49b67f83fe7aed2dfd7fe4133620e98b1ddc16bfecec4",
|
|
131
|
+
"typeScriptVersion": "4.3"
|
|
132
132
|
}
|