@types/react 17.0.0 → 17.0.1

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.
Files changed (3) hide show
  1. react/README.md +1 -1
  2. react/index.d.ts +1 -1
  3. react/package.json +3 -3
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: Fri, 20 Nov 2020 22:01:04 GMT
11
+ * Last updated: Tue, 02 Feb 2021 23:09:34 GMT
12
12
  * Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types)
13
13
  * Global values: `React`
14
14
 
react/index.d.ts CHANGED
@@ -82,7 +82,7 @@ declare namespace React {
82
82
  type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
83
83
 
84
84
  type JSXElementConstructor<P> =
85
- | ((props: P) => ReactElement | null)
85
+ | ((props: P) => ReactElement<any, any> | null)
86
86
  | (new (props: P) => Component<P, any>);
87
87
 
88
88
  interface RefObject<T> {
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.0",
3
+ "version": "17.0.1",
4
4
  "description": "TypeScript definitions for React",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -144,6 +144,6 @@
144
144
  "@types/prop-types": "*",
145
145
  "csstype": "^3.0.2"
146
146
  },
147
- "typesPublisherContentHash": "8b5435b7e65331fa4e9c03dbc550569300036ef0fcb38aa40a6ec5e98dedd2eb",
148
- "typeScriptVersion": "3.3"
147
+ "typesPublisherContentHash": "efb9eef4f38e6538cdbe943327f3ef6376a2ed0e33a05a57cfb4f1f0d89ac6a7",
148
+ "typeScriptVersion": "3.4"
149
149
  }