@types/react 18.3.4 → 18.3.5

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 CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for react (https://react.dev/).
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, 20 Aug 2024 20:36:15 GMT
11
+ * Last updated: Fri, 30 Aug 2024 10:07:55 GMT
12
12
  * Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react/index.d.ts CHANGED
@@ -1597,7 +1597,7 @@ declare namespace React {
1597
1597
  * ```
1598
1598
  */
1599
1599
  function forwardRef<T, P = {}>(
1600
- render: ForwardRefRenderFunction<T, P>,
1600
+ render: ForwardRefRenderFunction<T, PropsWithoutRef<P>>,
1601
1601
  ): ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>;
1602
1602
 
1603
1603
  /**
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.3.4",
3
+ "version": "18.3.5",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -205,6 +205,6 @@
205
205
  "@types/prop-types": "*",
206
206
  "csstype": "^3.0.2"
207
207
  },
208
- "typesPublisherContentHash": "ba3791a79e7cc51baa23cc8bd3b97abbea13332ebe70a49c6ac36a1fa08f33f7",
208
+ "typesPublisherContentHash": "6ad0cf987de8ee79aa0c60da30eb89355ab2d1aea881111ba54ef704ea6425f4",
209
209
  "typeScriptVersion": "4.8"
210
210
  }
react/ts5.0/index.d.ts CHANGED
@@ -1598,7 +1598,7 @@ declare namespace React {
1598
1598
  * ```
1599
1599
  */
1600
1600
  function forwardRef<T, P = {}>(
1601
- render: ForwardRefRenderFunction<T, P>,
1601
+ render: ForwardRefRenderFunction<T, PropsWithoutRef<P>>,
1602
1602
  ): ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>;
1603
1603
 
1604
1604
  /**