@types/react 16.14.15 → 16.14.16

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 v16.14/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/v16.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sun, 05 Sep 2021 10:01:23 GMT
11
+ * Last updated: Sun, 03 Oct 2021 13:31:19 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 v16.14/index.d.ts CHANGED
@@ -1191,9 +1191,9 @@ declare namespace React {
1191
1191
  isPrimary: boolean;
1192
1192
  }
1193
1193
 
1194
- interface FocusEvent<T = Element> extends SyntheticEvent<T, NativeFocusEvent> {
1195
- relatedTarget: EventTarget | null;
1196
- target: EventTarget & T;
1194
+ interface FocusEvent<Target = Element, RelatedTarget = Element> extends SyntheticEvent<Target, NativeFocusEvent> {
1195
+ relatedTarget: (EventTarget & RelatedTarget) | null;
1196
+ target: EventTarget & Target;
1197
1197
  }
1198
1198
 
1199
1199
  // tslint:disable-next-line:no-empty-interface
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.14.15",
3
+ "version": "16.14.16",
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": "b066dd4024750c9617567a5da7985dfb312d18c5fc76f046470ebefaecc53cbf",
149
+ "typesPublisherContentHash": "ec41b3ffa3c87c9c877cfd9d4db4936ac43a2ad430d21b05eece9ddeb5f3179d",
150
150
  "typeScriptVersion": "3.7"
151
151
  }