@types/react 17.0.7 → 17.0.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.
Files changed (3) hide show
  1. react/README.md +1 -1
  2. react/index.d.ts +0 -3
  3. react/package.json +2 -2
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: Tue, 25 May 2021 12:31:21 GMT
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/index.d.ts CHANGED
@@ -1019,7 +1019,6 @@ declare namespace React {
1019
1019
  * @version 16.8.0
1020
1020
  * @see https://reactjs.org/docs/hooks-reference.html#useref
1021
1021
  */
1022
- // TODO (TypeScript 3.0): <T extends unknown>
1023
1022
  function useRef<T>(initialValue: T): MutableRefObject<T>;
1024
1023
  // convenience overload for refs given as a ref prop as they typically start with a null value
1025
1024
  /**
@@ -1035,7 +1034,6 @@ declare namespace React {
1035
1034
  * @version 16.8.0
1036
1035
  * @see https://reactjs.org/docs/hooks-reference.html#useref
1037
1036
  */
1038
- // TODO (TypeScript 3.0): <T extends unknown>
1039
1037
  function useRef<T>(initialValue: T|null): RefObject<T>;
1040
1038
  // convenience overload for potentially undefined initialValue / call with 0 arguments
1041
1039
  // has a default to stop it from defaulting to {} instead
@@ -1049,7 +1047,6 @@ declare namespace React {
1049
1047
  * @version 16.8.0
1050
1048
  * @see https://reactjs.org/docs/hooks-reference.html#useref
1051
1049
  */
1052
- // TODO (TypeScript 3.0): <T extends unknown>
1053
1050
  function useRef<T = undefined>(): MutableRefObject<T | undefined>;
1054
1051
  /**
1055
1052
  * The signature is identical to `useEffect`, but it fires synchronously after all DOM mutations.
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.7",
3
+ "version": "17.0.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": "53fa0ca6f95f43ca1d6bb65289b682d451af9b827f566f06b37ba765cd69cd50",
153
+ "typesPublisherContentHash": "f78a9c242ef5a7f26dc323a60aa18505b8e2c2b745817400473a32fa8ffac6c3",
154
154
  "typeScriptVersion": "3.5"
155
155
  }