@types/jquery 3.5.8 → 3.5.12
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 +3 -1
- jquery/JQueryStatic.d.ts +13 -6
- jquery/README.md +2 -2
- jquery/index.d.ts +0 -1
- jquery/package.json +3 -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.
|
jquery/JQueryStatic.d.ts
CHANGED
|
@@ -1542,8 +1542,11 @@ $( "#log" ).append( "<div><b>settings -- </b>" + JSON.stringify( settings ) + "<
|
|
|
1542
1542
|
/**
|
|
1543
1543
|
* Load data from the server using a HTTP GET request.
|
|
1544
1544
|
* @param url A string containing the URL to which the request is sent.
|
|
1545
|
-
* @param
|
|
1546
|
-
*
|
|
1545
|
+
* @param success_data _@param_ `success_data`
|
|
1546
|
+
* <br>
|
|
1547
|
+
* * `success` — A callback function that is executed if the request succeeds. Required if `dataType` is provided,
|
|
1548
|
+
* but you can use `null` or \`{@link noop jQuery.noop}\` as a placeholder. <br>
|
|
1549
|
+
* * `data` — A plain object or string that is sent to the server with the request.
|
|
1547
1550
|
* @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).
|
|
1548
1551
|
* @see \`{@link https://api.jquery.com/jQuery.get/ }\`
|
|
1549
1552
|
* @since 1.0
|
|
@@ -1557,7 +1560,7 @@ $.get( "test.php", function( data ) {
|
|
|
1557
1560
|
```
|
|
1558
1561
|
*/
|
|
1559
1562
|
get(url: string,
|
|
1560
|
-
|
|
1563
|
+
data_success: JQuery.PlainObject | string | JQuery.jqXHR.DoneCallback | null,
|
|
1561
1564
|
dataType: string): JQuery.jqXHR;
|
|
1562
1565
|
/**
|
|
1563
1566
|
* Load data from the server using a HTTP GET request.
|
|
@@ -2652,14 +2655,17 @@ $.post( "test.php", { func: "getNameAndTime" }, function( data ) {
|
|
|
2652
2655
|
/**
|
|
2653
2656
|
* Load data from the server using a HTTP POST request.
|
|
2654
2657
|
* @param url A string containing the URL to which the request is sent.
|
|
2655
|
-
* @param
|
|
2656
|
-
*
|
|
2658
|
+
* @param success_data _@param_ `success_data`
|
|
2659
|
+
* <br>
|
|
2660
|
+
* * `success` — A callback function that is executed if the request succeeds. Required if `dataType` is provided,
|
|
2661
|
+
* but can be `null` in that case. <br>
|
|
2662
|
+
* * `data` — A plain object or string that is sent to the server with the request.
|
|
2657
2663
|
* @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).
|
|
2658
2664
|
* @see \`{@link https://api.jquery.com/jQuery.post/ }\`
|
|
2659
2665
|
* @since 1.0
|
|
2660
2666
|
*/
|
|
2661
2667
|
post(url: string,
|
|
2662
|
-
|
|
2668
|
+
data_success: JQuery.PlainObject | string | JQuery.jqXHR.DoneCallback | null,
|
|
2663
2669
|
dataType: string): JQuery.jqXHR;
|
|
2664
2670
|
/**
|
|
2665
2671
|
* Load data from the server using a HTTP POST request.
|
|
@@ -13203,6 +13209,7 @@ $( "span:eq(3)" ).text( "" + jQuery.data( div, "test2" ) );
|
|
|
13203
13209
|
* @param str The string to trim.
|
|
13204
13210
|
* @see \`{@link https://api.jquery.com/jQuery.trim/ }\`
|
|
13205
13211
|
* @since 1.0
|
|
13212
|
+
* @deprecated Deprecated since 3.5. See \`{@link https://api.jquery.com/category/deprecated/deprecated-3.5/ }\`.
|
|
13206
13213
|
* @example ````Remove the white spaces at the start and at the end of the string.
|
|
13207
13214
|
```html
|
|
13208
13215
|
<!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: Mon, 10 Jan 2022 21:31:41 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,7 +16,6 @@
|
|
|
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>
|
jquery/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/jquery",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.12",
|
|
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",
|
|
@@ -137,6 +132,6 @@
|
|
|
137
132
|
"dependencies": {
|
|
138
133
|
"@types/sizzle": "*"
|
|
139
134
|
},
|
|
140
|
-
"typesPublisherContentHash": "
|
|
141
|
-
"typeScriptVersion": "3.
|
|
135
|
+
"typesPublisherContentHash": "d182a0d52ee785afffcf9c5f5ba0faa240861de364bb071da8b8959e8ed38ce4",
|
|
136
|
+
"typeScriptVersion": "3.8"
|
|
142
137
|
}
|