@types/jquery 3.5.11 → 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/JQueryStatic.d.ts +12 -6
- jquery/README.md +1 -1
- jquery/package.json +2 -2
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,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: 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
|
|
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",
|
|
@@ -132,6 +132,6 @@
|
|
|
132
132
|
"dependencies": {
|
|
133
133
|
"@types/sizzle": "*"
|
|
134
134
|
},
|
|
135
|
-
"typesPublisherContentHash": "
|
|
135
|
+
"typesPublisherContentHash": "d182a0d52ee785afffcf9c5f5ba0faa240861de364bb071da8b8959e8ed38ce4",
|
|
136
136
|
"typeScriptVersion": "3.8"
|
|
137
137
|
}
|