@types/jquery 3.5.7 → 3.5.11
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 +5 -3
- jquery/JQueryStatic.d.ts +1 -0
- jquery/README.md +2 -2
- jquery/index.d.ts +1 -1
- jquery/package.json +8 -8
jquery/JQuery.d.ts
CHANGED
|
@@ -1780,7 +1780,9 @@ $( "div" ).children( ".selected" ).css( "color", "blue" );
|
|
|
1780
1780
|
</html>
|
|
1781
1781
|
```
|
|
1782
1782
|
*/
|
|
1783
|
-
children(selector
|
|
1783
|
+
children<K extends keyof HTMLElementTagNameMap>(selector: K): JQuery<HTMLElementTagNameMap[K]>;
|
|
1784
|
+
children<K extends keyof SVGElementTagNameMap>(selector: K): JQuery<SVGElementTagNameMap[K]>;
|
|
1785
|
+
children(selector?: JQuery.Selector): JQuery;
|
|
1784
1786
|
/**
|
|
1785
1787
|
* Remove from the queue all items that have not yet been run.
|
|
1786
1788
|
* @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue.
|
|
@@ -4526,9 +4528,9 @@ $( "*", document.body ).click(function( event ) {
|
|
|
4526
4528
|
</html>
|
|
4527
4529
|
```
|
|
4528
4530
|
*/
|
|
4529
|
-
get(index: number): TElement;
|
|
4531
|
+
get(index: number): TElement | undefined;
|
|
4530
4532
|
/**
|
|
4531
|
-
* Retrieve the elements matched by the jQuery object.
|
|
4533
|
+
* Retrieve the elements matched by the jQuery object. If the value of index is out of bounds — less than the negative number of elements or equal to or greater than the number of elements — it returns undefined.
|
|
4532
4534
|
* @see \`{@link https://api.jquery.com/get/ }\`
|
|
4533
4535
|
* @since 1.0
|
|
4534
4536
|
* @example ````Select all divs in the document and return the DOM Elements as an Array; then use the built-in reverse() method to reverse that array.
|
jquery/JQueryStatic.d.ts
CHANGED
|
@@ -13203,6 +13203,7 @@ $( "span:eq(3)" ).text( "" + jQuery.data( div, "test2" ) );
|
|
|
13203
13203
|
* @param str The string to trim.
|
|
13204
13204
|
* @see \`{@link https://api.jquery.com/jQuery.trim/ }\`
|
|
13205
13205
|
* @since 1.0
|
|
13206
|
+
* @deprecated Deprecated since 3.5. See \`{@link https://api.jquery.com/category/deprecated/deprecated-3.5/ }\`.
|
|
13206
13207
|
* @example ````Remove the white spaces at the start and at the end of the string.
|
|
13207
13208
|
```html
|
|
13208
13209
|
<!doctype html>
|
jquery/README.md
CHANGED
|
@@ -8,9 +8,9 @@ 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: Thu, 23 Dec 2021 23:34:54 GMT
|
|
12
12
|
* Dependencies: [@types/sizzle](https://npmjs.com/package/@types/sizzle)
|
|
13
13
|
* Global values: `$`, `Symbol`, `jQuery`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Leonard Thieu](https://github.com/leonard-thieu), [Boris Yankov](https://github.com/borisyankov), [Christian Hoffmeister](https://github.com/choffmeister), [Steve Fenton](https://github.com/Steve-Fenton), [Diullei Gomes](https://github.com/Diullei), [Tass Iliopoulos](https://github.com/tasoili), [Jason Swearingen](https://github.com/jasons-novaleaf), [Sean Hill](https://github.com/seanski), [Guus Goossens](https://github.com/Guuz), [Kelly Summerlin](https://github.com/ksummerlin), [Basarat Ali Syed](https://github.com/basarat), [Nicholas Wolverson](https://github.com/nwolverson), [Derek Cicerone](https://github.com/derekcicerone), [Andrew Gaspar](https://github.com/AndrewGaspar), [Seikichi Kondo](https://github.com/seikichi), [Benjamin Jackman](https://github.com/benjaminjackman), [
|
|
16
|
+
These definitions were written by [Leonard Thieu](https://github.com/leonard-thieu), [Boris Yankov](https://github.com/borisyankov), [Christian Hoffmeister](https://github.com/choffmeister), [Steve Fenton](https://github.com/Steve-Fenton), [Diullei Gomes](https://github.com/Diullei), [Tass Iliopoulos](https://github.com/tasoili), [Jason Swearingen](https://github.com/jasons-novaleaf), [Sean Hill](https://github.com/seanski), [Guus Goossens](https://github.com/Guuz), [Kelly Summerlin](https://github.com/ksummerlin), [Basarat Ali Syed](https://github.com/basarat), [Nicholas Wolverson](https://github.com/nwolverson), [Derek Cicerone](https://github.com/derekcicerone), [Andrew Gaspar](https://github.com/AndrewGaspar), [Seikichi Kondo](https://github.com/seikichi), [Benjamin Jackman](https://github.com/benjaminjackman), [Josh Strobl](https://github.com/JoshStrobl), [John Reilly](https://github.com/johnnyreilly), [Dick van den Brink](https://github.com/DickvdBrink), [Thomas Schulz](https://github.com/King2500), [Terry Mun](https://github.com/terrymun), [Martin Badin](https://github.com/martin-badin), and [Chris Frewin](https://github.com/princefishthrower).
|
jquery/index.d.ts
CHANGED
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
// Andrew Gaspar <https://github.com/AndrewGaspar>
|
|
17
17
|
// Seikichi Kondo <https://github.com/seikichi>
|
|
18
18
|
// Benjamin Jackman <https://github.com/benjaminjackman>
|
|
19
|
-
// Poul Sorensen <https://github.com/s093294>
|
|
20
19
|
// Josh Strobl <https://github.com/JoshStrobl>
|
|
21
20
|
// John Reilly <https://github.com/johnnyreilly>
|
|
22
21
|
// Dick van den Brink <https://github.com/DickvdBrink>
|
|
23
22
|
// Thomas Schulz <https://github.com/King2500>
|
|
24
23
|
// Terry Mun <https://github.com/terrymun>
|
|
25
24
|
// Martin Badin <https://github.com/martin-badin>
|
|
25
|
+
// Chris Frewin <https://github.com/princefishthrower>
|
|
26
26
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
27
27
|
// TypeScript Version: 2.7
|
|
28
28
|
|
jquery/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/jquery",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.11",
|
|
4
4
|
"description": "TypeScript definitions for jquery",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery",
|
|
6
6
|
"license": "MIT",
|
|
@@ -85,11 +85,6 @@
|
|
|
85
85
|
"url": "https://github.com/benjaminjackman",
|
|
86
86
|
"githubUsername": "benjaminjackman"
|
|
87
87
|
},
|
|
88
|
-
{
|
|
89
|
-
"name": "Poul Sorensen",
|
|
90
|
-
"url": "https://github.com/s093294",
|
|
91
|
-
"githubUsername": "s093294"
|
|
92
|
-
},
|
|
93
88
|
{
|
|
94
89
|
"name": "Josh Strobl",
|
|
95
90
|
"url": "https://github.com/JoshStrobl",
|
|
@@ -119,6 +114,11 @@
|
|
|
119
114
|
"name": "Martin Badin",
|
|
120
115
|
"url": "https://github.com/martin-badin",
|
|
121
116
|
"githubUsername": "martin-badin"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "Chris Frewin",
|
|
120
|
+
"url": "https://github.com/princefishthrower",
|
|
121
|
+
"githubUsername": "princefishthrower"
|
|
122
122
|
}
|
|
123
123
|
],
|
|
124
124
|
"main": "",
|
|
@@ -132,6 +132,6 @@
|
|
|
132
132
|
"dependencies": {
|
|
133
133
|
"@types/sizzle": "*"
|
|
134
134
|
},
|
|
135
|
-
"typesPublisherContentHash": "
|
|
136
|
-
"typeScriptVersion": "3.
|
|
135
|
+
"typesPublisherContentHash": "47a26380dc0f69ccd8767a7a45d625954c5fcc5a09a17d4eb8b9892d68b61838",
|
|
136
|
+
"typeScriptVersion": "3.8"
|
|
137
137
|
}
|