@types/react 16.14.7 → 16.14.8
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 +0 -3
- react v16.14/package.json +2 -2
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: Wed, 26 May 2021 00:31:36 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
@@ -1020,7 +1020,6 @@ declare namespace React {
|
|
1020
1020
|
* @version 16.8.0
|
1021
1021
|
* @see https://reactjs.org/docs/hooks-reference.html#useref
|
1022
1022
|
*/
|
1023
|
-
// TODO (TypeScript 3.0): <T extends unknown>
|
1024
1023
|
function useRef<T>(initialValue: T): MutableRefObject<T>;
|
1025
1024
|
// convenience overload for refs given as a ref prop as they typically start with a null value
|
1026
1025
|
/**
|
@@ -1036,7 +1035,6 @@ declare namespace React {
|
|
1036
1035
|
* @version 16.8.0
|
1037
1036
|
* @see https://reactjs.org/docs/hooks-reference.html#useref
|
1038
1037
|
*/
|
1039
|
-
// TODO (TypeScript 3.0): <T extends unknown>
|
1040
1038
|
function useRef<T>(initialValue: T|null): RefObject<T>;
|
1041
1039
|
// convenience overload for potentially undefined initialValue / call with 0 arguments
|
1042
1040
|
// has a default to stop it from defaulting to {} instead
|
@@ -1050,7 +1048,6 @@ declare namespace React {
|
|
1050
1048
|
* @version 16.8.0
|
1051
1049
|
* @see https://reactjs.org/docs/hooks-reference.html#useref
|
1052
1050
|
*/
|
1053
|
-
// TODO (TypeScript 3.0): <T extends unknown>
|
1054
1051
|
function useRef<T = undefined>(): MutableRefObject<T | undefined>;
|
1055
1052
|
/**
|
1056
1053
|
* The signature is identical to `useEffect`, but it fires synchronously after all DOM mutations.
|
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.8",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"license": "MIT",
|
6
6
|
"contributors": [
|
@@ -150,6 +150,6 @@
|
|
150
150
|
"@types/scheduler": "*",
|
151
151
|
"csstype": "^3.0.2"
|
152
152
|
},
|
153
|
-
"typesPublisherContentHash": "
|
153
|
+
"typesPublisherContentHash": "81be67ad84ac197a74f022991b15c925110e5eb8c6b26668be83260519d5d944",
|
154
154
|
"typeScriptVersion": "3.5"
|
155
155
|
}
|