@types/jquery 3.5.20 → 3.5.22

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.
Files changed (3) hide show
  1. jquery/JQuery.d.ts +7 -1
  2. jquery/README.md +1 -1
  3. jquery/package.json +2 -2
jquery/JQuery.d.ts CHANGED
@@ -12781,7 +12781,13 @@ $( "input" )
12781
12781
  </html>
12782
12782
  ```
12783
12783
  */
12784
- val(): string | number | string[] | undefined;
12784
+ val():
12785
+ | (TElement extends HTMLSelectElement & { type: "select-one" } ? string
12786
+ : TElement extends HTMLSelectElement & { type: "select-multiple" } ? string[]
12787
+ : TElement extends HTMLSelectElement ? string | string[]
12788
+ : TElement extends { value: string | number } ? TElement["value"]
12789
+ : string | number | string[])
12790
+ | undefined;
12785
12791
  /**
12786
12792
  * Set the CSS width of each element in the set of matched elements.
12787
12793
  * @param value_function _&#x40;param_ `value_function`
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: Wed, 27 Sep 2023 20:35:06 GMT
11
+ * Last updated: Fri, 06 Oct 2023 23:05:45 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.20",
3
+ "version": "3.5.22",
4
4
  "description": "TypeScript definitions for jquery",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery",
6
6
  "license": "MIT",
@@ -127,6 +127,6 @@
127
127
  "dependencies": {
128
128
  "@types/sizzle": "*"
129
129
  },
130
- "typesPublisherContentHash": "9edf445b76f01f9f38e4136eff3e248be46ea0ec1b32bb860a90ca7f2e8632d1",
130
+ "typesPublisherContentHash": "2e4441ed835975849dabeb2275cc6e9bbbcde51fdec38c99fabeedefd259a833",
131
131
  "typeScriptVersion": "4.5"
132
132
  }