@types/jquery 3.5.21 → 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.
- jquery/JQuery.d.ts +5 -9
- jquery/README.md +1 -1
- jquery/package.json +2 -2
jquery/JQuery.d.ts
CHANGED
|
@@ -12782,15 +12782,11 @@ $( "input" )
|
|
|
12782
12782
|
```
|
|
12783
12783
|
*/
|
|
12784
12784
|
val():
|
|
12785
|
-
| (TElement extends HTMLSelectElement & {type: "select-one"}
|
|
12786
|
-
|
|
12787
|
-
|
|
12788
|
-
|
|
12789
|
-
|
|
12790
|
-
? string | string[]
|
|
12791
|
-
: TElement extends {value: string | number}
|
|
12792
|
-
? TElement["value"]
|
|
12793
|
-
: string | number | string[])
|
|
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[])
|
|
12794
12790
|
| undefined;
|
|
12795
12791
|
/**
|
|
12796
12792
|
* Set the CSS width of each element in the set of matched elements.
|
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: 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.
|
|
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": "
|
|
130
|
+
"typesPublisherContentHash": "2e4441ed835975849dabeb2275cc6e9bbbcde51fdec38c99fabeedefd259a833",
|
|
131
131
|
"typeScriptVersion": "4.5"
|
|
132
132
|
}
|