@types/jquery 3.5.11 → 3.5.13
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/JQueryStatic.d.ts +12 -6
- jquery/README.md +2 -2
- jquery/index.d.ts +0 -1
- jquery/package.json +2 -7
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.
|
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: Tue, 11 Jan 2022 22:31:39 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), [
|
|
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), [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
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
// Steve Fenton <https://github.com/Steve-Fenton>
|
|
7
7
|
// Diullei Gomes <https://github.com/Diullei>
|
|
8
8
|
// Tass Iliopoulos <https://github.com/tasoili>
|
|
9
|
-
// Jason Swearingen <https://github.com/jasons-novaleaf>
|
|
10
9
|
// Sean Hill <https://github.com/seanski>
|
|
11
10
|
// Guus Goossens <https://github.com/Guuz>
|
|
12
11
|
// Kelly Summerlin <https://github.com/ksummerlin>
|
jquery/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/jquery",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.13",
|
|
4
4
|
"description": "TypeScript definitions for jquery",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,11 +35,6 @@
|
|
|
35
35
|
"url": "https://github.com/tasoili",
|
|
36
36
|
"githubUsername": "tasoili"
|
|
37
37
|
},
|
|
38
|
-
{
|
|
39
|
-
"name": "Jason Swearingen",
|
|
40
|
-
"url": "https://github.com/jasons-novaleaf",
|
|
41
|
-
"githubUsername": "jasons-novaleaf"
|
|
42
|
-
},
|
|
43
38
|
{
|
|
44
39
|
"name": "Sean Hill",
|
|
45
40
|
"url": "https://github.com/seanski",
|
|
@@ -132,6 +127,6 @@
|
|
|
132
127
|
"dependencies": {
|
|
133
128
|
"@types/sizzle": "*"
|
|
134
129
|
},
|
|
135
|
-
"typesPublisherContentHash": "
|
|
130
|
+
"typesPublisherContentHash": "5a36c8286c4bd77b937e018aacd7b1960cefa0e826ab4ab44b14cdf92d083175",
|
|
136
131
|
"typeScriptVersion": "3.8"
|
|
137
132
|
}
|