@types/react 17.0.23 → 17.0.24
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.
- react/README.md +1 -1
- react/index.d.ts +2 -2
- react/package.json +2 -2
react/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (http://facebook.github.io/reac
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated: Tue, 21 Sep 2021 18:
|
11
|
+
* Last updated: Tue, 21 Sep 2021 18:31:44 GMT
|
12
12
|
* Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)
|
13
13
|
* Global values: `React`
|
14
14
|
|
react/index.d.ts
CHANGED
@@ -1899,7 +1899,7 @@ declare namespace React {
|
|
1899
1899
|
autoComplete?: string | undefined;
|
1900
1900
|
autoFocus?: boolean | undefined;
|
1901
1901
|
autoPlay?: boolean | undefined;
|
1902
|
-
capture?: boolean |
|
1902
|
+
capture?: boolean | 'user' | 'environment' | undefined;
|
1903
1903
|
cellPadding?: number | string | undefined;
|
1904
1904
|
cellSpacing?: number | string | undefined;
|
1905
1905
|
charSet?: string | undefined;
|
@@ -2196,7 +2196,7 @@ declare namespace React {
|
|
2196
2196
|
alt?: string | undefined;
|
2197
2197
|
autoComplete?: string | undefined;
|
2198
2198
|
autoFocus?: boolean | undefined;
|
2199
|
-
capture?: boolean |
|
2199
|
+
capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
|
2200
2200
|
checked?: boolean | undefined;
|
2201
2201
|
crossOrigin?: string | undefined;
|
2202
2202
|
disabled?: boolean | undefined;
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "17.0.
|
3
|
+
"version": "17.0.24",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -146,6 +146,6 @@
|
|
146
146
|
"@types/scheduler": "*",
|
147
147
|
"csstype": "^3.0.2"
|
148
148
|
},
|
149
|
-
"typesPublisherContentHash": "
|
149
|
+
"typesPublisherContentHash": "3e4ee4aee8340bd8dc891c56ea875b60b5c6cd225b7eaed1577ac46890619a5d",
|
150
150
|
"typeScriptVersion": "3.7"
|
151
151
|
}
|