@types/react 17.0.26 → 17.0.27
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 +3 -3
- 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:
|
11
|
+
* Last updated: Sun, 03 Oct 2021 13:31:18 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
@@ -1193,9 +1193,9 @@ declare namespace React {
|
|
1193
1193
|
isPrimary: boolean;
|
1194
1194
|
}
|
1195
1195
|
|
1196
|
-
interface FocusEvent<
|
1197
|
-
relatedTarget: EventTarget | null;
|
1198
|
-
target: EventTarget &
|
1196
|
+
interface FocusEvent<Target = Element, RelatedTarget = Element> extends SyntheticEvent<Target, NativeFocusEvent> {
|
1197
|
+
relatedTarget: (EventTarget & RelatedTarget) | null;
|
1198
|
+
target: EventTarget & Target;
|
1199
1199
|
}
|
1200
1200
|
|
1201
1201
|
interface FormEvent<T = Element> extends SyntheticEvent<T> {
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "17.0.
|
3
|
+
"version": "17.0.27",
|
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": "e97b75a1e0130bc5bd744f29288b07cf0d6b110299155b724692337d2214ed71",
|
150
150
|
"typeScriptVersion": "3.7"
|
151
151
|
}
|