@types/react 19.2.16 → 19.2.17
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 +4 -4
- react/package.json +2 -2
- react/ts5.0/index.d.ts +4 -4
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:
|
|
11
|
+
* Last updated: Fri, 05 Jun 2026 20:10:10 GMT
|
|
12
12
|
* Dependencies: [csstype](https://npmjs.com/package/csstype)
|
|
13
13
|
|
|
14
14
|
# Credits
|
react/index.d.ts
CHANGED
|
@@ -408,7 +408,7 @@ declare namespace React {
|
|
|
408
408
|
*
|
|
409
409
|
* Where {@link ReactElement} only represents JSX, `ReactNode` represents everything that can be rendered.
|
|
410
410
|
*
|
|
411
|
-
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/
|
|
411
|
+
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/reference/reactnode/ React TypeScript Cheatsheet}
|
|
412
412
|
*
|
|
413
413
|
* @example
|
|
414
414
|
*
|
|
@@ -1431,7 +1431,7 @@ declare namespace React {
|
|
|
1431
1431
|
* instead of this type, as they let you be explicit about whether or not to include
|
|
1432
1432
|
* the `ref` prop.
|
|
1433
1433
|
*
|
|
1434
|
-
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/
|
|
1434
|
+
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/reference/ComponentProps React TypeScript Cheatsheet}
|
|
1435
1435
|
*
|
|
1436
1436
|
* @example
|
|
1437
1437
|
*
|
|
@@ -1459,7 +1459,7 @@ declare namespace React {
|
|
|
1459
1459
|
* passed a string, indicating a DOM element (e.g. 'div', 'span', etc.) or the
|
|
1460
1460
|
* type of a React component.
|
|
1461
1461
|
*
|
|
1462
|
-
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/
|
|
1462
|
+
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/reference/ComponentProps React TypeScript Cheatsheet}
|
|
1463
1463
|
*
|
|
1464
1464
|
* @example
|
|
1465
1465
|
*
|
|
@@ -1509,7 +1509,7 @@ declare namespace React {
|
|
|
1509
1509
|
* passed a string, indicating a DOM element (e.g. 'div', 'span', etc.) or the
|
|
1510
1510
|
* type of a React component.
|
|
1511
1511
|
*
|
|
1512
|
-
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/
|
|
1512
|
+
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/reference/ComponentProps React TypeScript Cheatsheet}
|
|
1513
1513
|
*
|
|
1514
1514
|
* @example
|
|
1515
1515
|
*
|
react/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/react",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.17",
|
|
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
|
"csstype": "^3.2.2"
|
|
206
206
|
},
|
|
207
207
|
"peerDependencies": {},
|
|
208
|
-
"typesPublisherContentHash": "
|
|
208
|
+
"typesPublisherContentHash": "f6d087e89b6a483b6ea2519d4f16498227ceb3260f6a6414fed750badc869721",
|
|
209
209
|
"typeScriptVersion": "5.3"
|
|
210
210
|
}
|
react/ts5.0/index.d.ts
CHANGED
|
@@ -409,7 +409,7 @@ declare namespace React {
|
|
|
409
409
|
*
|
|
410
410
|
* Where {@link ReactElement} only represents JSX, `ReactNode` represents everything that can be rendered.
|
|
411
411
|
*
|
|
412
|
-
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/
|
|
412
|
+
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/reference/reactnode/ React TypeScript Cheatsheet}
|
|
413
413
|
*
|
|
414
414
|
* @example
|
|
415
415
|
*
|
|
@@ -1430,7 +1430,7 @@ declare namespace React {
|
|
|
1430
1430
|
* instead of this type, as they let you be explicit about whether or not to include
|
|
1431
1431
|
* the `ref` prop.
|
|
1432
1432
|
*
|
|
1433
|
-
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/
|
|
1433
|
+
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/reference/ComponentProps React TypeScript Cheatsheet}
|
|
1434
1434
|
*
|
|
1435
1435
|
* @example
|
|
1436
1436
|
*
|
|
@@ -1458,7 +1458,7 @@ declare namespace React {
|
|
|
1458
1458
|
* passed a string, indicating a DOM element (e.g. 'div', 'span', etc.) or the
|
|
1459
1459
|
* type of a React component.
|
|
1460
1460
|
*
|
|
1461
|
-
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/
|
|
1461
|
+
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/reference/ComponentProps React TypeScript Cheatsheet}
|
|
1462
1462
|
*
|
|
1463
1463
|
* @example
|
|
1464
1464
|
*
|
|
@@ -1508,7 +1508,7 @@ declare namespace React {
|
|
|
1508
1508
|
* passed a string, indicating a DOM element (e.g. 'div', 'span', etc.) or the
|
|
1509
1509
|
* type of a React component.
|
|
1510
1510
|
*
|
|
1511
|
-
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/
|
|
1511
|
+
* @see {@link https://react-typescript-cheatsheet.netlify.app/docs/reference/ComponentProps React TypeScript Cheatsheet}
|
|
1512
1512
|
*
|
|
1513
1513
|
* @example
|
|
1514
1514
|
*
|