@types/jquery 2.0.65 → 2.0.66
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 v2.0/README.md +1 -1
- jquery v2.0/index.d.ts +3 -0
- jquery v2.0/package.json +2 -2
jquery v2.0/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for jquery (http://jquery.com/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery/v2.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 22 Nov 2023 00:24:48 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
jquery v2.0/index.d.ts
CHANGED
|
@@ -1261,6 +1261,7 @@ interface JQueryStatic {
|
|
|
1261
1261
|
*/
|
|
1262
1262
|
each<T>(
|
|
1263
1263
|
collection: T[],
|
|
1264
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
1264
1265
|
callback: (indexInArray: number, valueOfElement: T) => boolean | void,
|
|
1265
1266
|
): T[];
|
|
1266
1267
|
|
|
@@ -1275,6 +1276,7 @@ interface JQueryStatic {
|
|
|
1275
1276
|
each<T extends Object>(
|
|
1276
1277
|
collection: T,
|
|
1277
1278
|
// TODO: `(keyInObject: keyof T, valueOfElement: T[keyof T])`, when TypeScript 2.1 allowed in repository
|
|
1279
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
1278
1280
|
callback: (keyInObject: string, valueOfElement: any) => boolean | void,
|
|
1279
1281
|
): T;
|
|
1280
1282
|
|
|
@@ -3437,6 +3439,7 @@ interface JQuery {
|
|
|
3437
3439
|
* @param func A function to execute for each matched element. Can stop the loop by returning false.
|
|
3438
3440
|
* @see {@link https://api.jquery.com/each/}
|
|
3439
3441
|
*/
|
|
3442
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
3440
3443
|
each(func: (index: number, elem: Element) => boolean | void): JQuery;
|
|
3441
3444
|
|
|
3442
3445
|
/**
|
jquery v2.0/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/jquery",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.66",
|
|
4
4
|
"description": "TypeScript definitions for jquery",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery",
|
|
6
6
|
"license": "MIT",
|
|
@@ -110,6 +110,6 @@
|
|
|
110
110
|
},
|
|
111
111
|
"scripts": {},
|
|
112
112
|
"dependencies": {},
|
|
113
|
-
"typesPublisherContentHash": "
|
|
113
|
+
"typesPublisherContentHash": "5284398229b65fa9d9b8954978eacb4e609e890ec2938f0e8d285719edb4a856",
|
|
114
114
|
"typeScriptVersion": "4.5"
|
|
115
115
|
}
|