@types/react 16.14.15 → 16.14.19

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: Sat, 23 Oct 2021 04:31:20 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
@@ -79,7 +79,7 @@ declare namespace React {
79
79
 
80
80
  type JSXElementConstructor<P> =
81
81
  | ((props: P) => ReactElement<any, any> | null)
82
- | (new (props: P) => Component<P, any>);
82
+ | (new (props: P) => Component<any, any>);
83
83
 
84
84
  interface RefObject<T> {
85
85
  readonly current: T | null;
@@ -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
@@ -2252,6 +2252,7 @@ declare namespace React {
2252
2252
  href?: string | undefined;
2253
2253
  hrefLang?: string | undefined;
2254
2254
  integrity?: string | undefined;
2255
+ imageSrcSet?: string | undefined;
2255
2256
  media?: string | undefined;
2256
2257
  referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
2257
2258
  rel?: string | undefined;
@@ -2567,6 +2568,7 @@ declare namespace React {
2567
2568
  fontVariant?: number | string | undefined;
2568
2569
  fontWeight?: number | string | undefined;
2569
2570
  format?: number | string | undefined;
2571
+ fr?: number | string | undefined;
2570
2572
  from?: number | string | undefined;
2571
2573
  fx?: number | string | undefined;
2572
2574
  fy?: number | string | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.14.15",
3
+ "version": "16.14.19",
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": "cdac7037cd8883f75aaddad9c38e0f2cd01491f4601efa9513e45fdfb5193495",
150
150
  "typeScriptVersion": "3.7"
151
151
  }