@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.
- react/README.md +1 -1
- react/index.d.ts +1 -1
- 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:
|
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.
|
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": "
|
148
|
-
"typeScriptVersion": "3.
|
147
|
+
"typesPublisherContentHash": "efb9eef4f38e6538cdbe943327f3ef6376a2ed0e33a05a57cfb4f1f0d89ac6a7",
|
148
|
+
"typeScriptVersion": "3.4"
|
149
149
|
}
|