@types/react 16.14.16 → 16.14.20

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, 03 Oct 2021 13:31:19 GMT
11
+ * Last updated: Mon, 25 Oct 2021 23:31:49 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;
@@ -1208,7 +1208,7 @@ declare namespace React {
1208
1208
  target: EventTarget & T;
1209
1209
  }
1210
1210
 
1211
- interface KeyboardEvent<T = Element> extends SyntheticEvent<T, NativeKeyboardEvent> {
1211
+ interface KeyboardEvent<T = Element> extends UIEvent<T, NativeKeyboardEvent> {
1212
1212
  altKey: boolean;
1213
1213
  /** @deprecated */
1214
1214
  charCode: number;
@@ -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.16",
3
+ "version": "16.14.20",
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": "ec41b3ffa3c87c9c877cfd9d4db4936ac43a2ad430d21b05eece9ddeb5f3179d",
149
+ "typesPublisherContentHash": "9c738f435cb3220c59b55d5c94cec15fbca0b152db7d669a65b14a00af920322",
150
150
  "typeScriptVersion": "3.7"
151
151
  }