@types/react 16.14.2 → 16.14.3
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 +1 -1
- react v16.14/index.d.ts +1 -1
- react v16.14/package.json +3 -3
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:
|
11
|
+
* Last updated: Tue, 02 Feb 2021 23:09:35 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 v16.14/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 v16.14/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "16.14.
|
3
|
+
"version": "16.14.3",
|
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": "92bc382243868cee8f09924f825b4ba2629a858990511eb35962e3685d10c57d",
|
148
|
+
"typeScriptVersion": "3.4"
|
149
149
|
}
|