@types/jquery 1.10.44 → 1.10.45
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 v1.10/README.md +1 -1
- jquery v1.10/index.d.ts +3 -0
- jquery v1.10/package.json +2 -2
jquery v1.10/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/v1.
|
|
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 v1.10/index.d.ts
CHANGED
|
@@ -1247,6 +1247,7 @@ interface JQueryStatic {
|
|
|
1247
1247
|
*/
|
|
1248
1248
|
each<T>(
|
|
1249
1249
|
collection: T[],
|
|
1250
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
1250
1251
|
callback: (indexInArray: number, valueOfElement: T) => boolean | void,
|
|
1251
1252
|
): T[];
|
|
1252
1253
|
|
|
@@ -1261,6 +1262,7 @@ interface JQueryStatic {
|
|
|
1261
1262
|
each<T extends Object>(
|
|
1262
1263
|
collection: T,
|
|
1263
1264
|
// TODO: `(keyInObject: keyof T, valueOfElement: T[keyof T])`, when TypeScript 2.1 allowed in repository
|
|
1265
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
1264
1266
|
callback: (keyInObject: string, valueOfElement: any) => boolean | void,
|
|
1265
1267
|
): T;
|
|
1266
1268
|
|
|
@@ -3433,6 +3435,7 @@ interface JQuery {
|
|
|
3433
3435
|
* @param func A function to execute for each matched element. Can stop the loop by returning false.
|
|
3434
3436
|
* @see {@link https://api.jquery.com/each/}
|
|
3435
3437
|
*/
|
|
3438
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
3436
3439
|
each(func: (index: number, elem: Element) => boolean | void): JQuery;
|
|
3437
3440
|
|
|
3438
3441
|
/**
|
jquery v1.10/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/jquery",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.45",
|
|
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": "9f806cc3d25badb7ea3249c3bf9e4a71e0b98d93c6d02b331e46bdaf496a8c37",
|
|
114
114
|
"typeScriptVersion": "4.5"
|
|
115
115
|
}
|