@types/jquery 2.0.67 → 2.0.68

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 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: Fri, 22 Dec 2023 16:07:04 GMT
11
+ * Last updated: Fri, 29 Dec 2023 17:35:23 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
jquery v2.0/index.d.ts CHANGED
@@ -1265,7 +1265,8 @@ interface JQueryStatic {
1265
1265
  */
1266
1266
  each<T>(
1267
1267
  collection: T[],
1268
- callback: (this: T, indexInArray: number, valueOfElement: T) => boolean | undefined,
1268
+ // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
1269
+ callback: (this: T, indexInArray: number, valueOfElement: T) => boolean | void,
1269
1270
  ): T[];
1270
1271
 
1271
1272
  /**
@@ -3489,7 +3490,8 @@ interface JQuery {
3489
3490
  * @param func A function to execute for each matched element. Can stop the loop by returning false.
3490
3491
  * @see {@link https://api.jquery.com/each/}
3491
3492
  */
3492
- each(func: (this: HTMLElement, index: number, elem: Element) => boolean | undefined): JQuery;
3493
+ // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
3494
+ each(func: (this: HTMLElement, index: number, elem: Element) => boolean | void): JQuery;
3493
3495
 
3494
3496
  /**
3495
3497
  * Retrieve one of the elements matched by the jQuery object.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/jquery",
3
- "version": "2.0.67",
3
+ "version": "2.0.68",
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": "9b5c8cb56c1ae688eaf6924b65f0d325abf0130183a3492c5478376ab2cd9ffc",
113
+ "typesPublisherContentHash": "d1bd790a3be3e39bbed6869811b9bf1f8e784e35a7ff1adc3c9f5311a363ed7d",
114
114
  "typeScriptVersion": "4.6"
115
115
  }