@types/jquery 3.3.5 → 3.3.6
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/README.md +1 -1
- jquery/index.d.ts +15 -3
- jquery/package.json +2 -2
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: Wed, 15 Aug 2018 20:42:04 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: $, JQuery, jQuery
|
|
14
14
|
|
jquery/index.d.ts
CHANGED
|
@@ -146,12 +146,24 @@ interface JQueryStatic {
|
|
|
146
146
|
* Return a collection of matched elements either found in the DOM based on passed argument(s) or created
|
|
147
147
|
* by passing an HTML string.
|
|
148
148
|
*
|
|
149
|
-
* @param
|
|
150
|
-
* An array containing a set of DOM elements to wrap in a jQuery object.
|
|
149
|
+
* @param element A DOM element to wrap in a jQuery object.
|
|
151
150
|
* @see \`{@link https://api.jquery.com/jQuery/ }\`
|
|
152
151
|
* @since 1.0
|
|
153
152
|
*/
|
|
154
|
-
|
|
153
|
+
// Using a unified signature is not possible due to a TypeScript 2.4 bug (DefinitelyTyped#27810)
|
|
154
|
+
// tslint:disable-next-line:unified-signatures
|
|
155
|
+
<T extends Element>(element: T): JQuery<T>;
|
|
156
|
+
/**
|
|
157
|
+
* Return a collection of matched elements either found in the DOM based on passed argument(s) or created
|
|
158
|
+
* by passing an HTML string.
|
|
159
|
+
*
|
|
160
|
+
* @param elementArray An array containing a set of DOM elements to wrap in a jQuery object.
|
|
161
|
+
* @see \`{@link https://api.jquery.com/jQuery/ }\`
|
|
162
|
+
* @since 1.0
|
|
163
|
+
*/
|
|
164
|
+
// Using a unified signature is not possible due to a TypeScript 2.4 bug (DefinitelyTyped#27810)
|
|
165
|
+
// tslint:disable-next-line:unified-signatures
|
|
166
|
+
<T extends Element>(elementArray: T[]): JQuery<T>;
|
|
155
167
|
/**
|
|
156
168
|
* Return a collection of matched elements either found in the DOM based on passed argument(s) or created
|
|
157
169
|
* by passing an HTML string.
|
jquery/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/jquery",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.6",
|
|
4
4
|
"description": "TypeScript definitions for jquery",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -117,6 +117,6 @@
|
|
|
117
117
|
},
|
|
118
118
|
"scripts": {},
|
|
119
119
|
"dependencies": {},
|
|
120
|
-
"typesPublisherContentHash": "
|
|
120
|
+
"typesPublisherContentHash": "fa29764f6d6313daa1dc8e6af76539a12100e3d6e08c92956259f69d2792bb69",
|
|
121
121
|
"typeScriptVersion": "2.3"
|
|
122
122
|
}
|