@types/react 19.2.3 → 19.2.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, 11 Nov 2025 15:36:05 GMT
11
+ * Last updated: Fri, 14 Nov 2025 21:33:10 GMT
12
12
  * Dependencies: [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react/experimental.d.ts CHANGED
@@ -69,17 +69,19 @@ declare module "." {
69
69
  children: Iterable<ReactElement> | AsyncIterable<ReactElement>;
70
70
  /**
71
71
  * Defines the order in which the `SuspenseList` children should be revealed.
72
+ * @default "forwards"
72
73
  */
73
- revealOrder: "forwards" | "backwards" | "unstable_legacy-backwards";
74
+ revealOrder?: "forwards" | "backwards" | "unstable_legacy-backwards" | undefined;
74
75
  /**
75
76
  * Dictates how unloaded items in a SuspenseList is shown.
76
77
  *
77
- * - By default, `SuspenseList` will show all fallbacks in the list.
78
78
  * - `collapsed` shows only the next fallback in the list.
79
79
  * - `hidden` doesn't show any unloaded items.
80
80
  * - `visible` shows all fallbacks in the list.
81
+ *
82
+ * @default "hidden"
81
83
  */
82
- tail: SuspenseListTailMode;
84
+ tail?: SuspenseListTailMode | undefined;
83
85
  }
84
86
 
85
87
  interface NonDirectionalSuspenseListProps extends SuspenseListCommonProps {
@@ -87,7 +89,7 @@ declare module "." {
87
89
  /**
88
90
  * Defines the order in which the `SuspenseList` children should be revealed.
89
91
  */
90
- revealOrder: Exclude<SuspenseListRevealOrder, DirectionalSuspenseListProps["revealOrder"]> | undefined;
92
+ revealOrder: Exclude<SuspenseListRevealOrder, DirectionalSuspenseListProps["revealOrder"]>;
91
93
  /**
92
94
  * The tail property is invalid when not using the `forwards` or `backwards` reveal orders.
93
95
  */
react/index.d.ts CHANGED
@@ -4057,7 +4057,6 @@ declare namespace React {
4057
4057
  * Captures which component contained the exception, and its ancestors.
4058
4058
  */
4059
4059
  componentStack?: string | null;
4060
- digest?: string | null;
4061
4060
  }
4062
4061
 
4063
4062
  // Keep in sync with JSX namespace in ./jsx-runtime.d.ts and ./jsx-dev-runtime.d.ts
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "19.2.3",
3
+ "version": "19.2.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
  "csstype": "^3.0.2"
206
206
  },
207
207
  "peerDependencies": {},
208
- "typesPublisherContentHash": "137dc6599832a7f1b9a458198af4ab88316935915facbd7cdf89cd676a01a6da",
208
+ "typesPublisherContentHash": "c2f1737b81e31f9dd1cf7e93dea38cf295e077890422797682e7228973059a19",
209
209
  "typeScriptVersion": "5.2"
210
210
  }
@@ -69,17 +69,19 @@ declare module "." {
69
69
  children: Iterable<ReactElement> | AsyncIterable<ReactElement>;
70
70
  /**
71
71
  * Defines the order in which the `SuspenseList` children should be revealed.
72
+ * @default "forwards"
72
73
  */
73
- revealOrder: "forwards" | "backwards" | "unstable_legacy-backwards";
74
+ revealOrder?: "forwards" | "backwards" | "unstable_legacy-backwards" | undefined;
74
75
  /**
75
76
  * Dictates how unloaded items in a SuspenseList is shown.
76
77
  *
77
- * - By default, `SuspenseList` will show all fallbacks in the list.
78
78
  * - `collapsed` shows only the next fallback in the list.
79
79
  * - `hidden` doesn't show any unloaded items.
80
80
  * - `visible` shows all fallbacks in the list.
81
+ *
82
+ * @default "hidden"
81
83
  */
82
- tail: SuspenseListTailMode;
84
+ tail?: SuspenseListTailMode | undefined;
83
85
  }
84
86
 
85
87
  interface NonDirectionalSuspenseListProps extends SuspenseListCommonProps {
@@ -87,7 +89,7 @@ declare module "." {
87
89
  /**
88
90
  * Defines the order in which the `SuspenseList` children should be revealed.
89
91
  */
90
- revealOrder: Exclude<SuspenseListRevealOrder, DirectionalSuspenseListProps["revealOrder"]> | undefined;
92
+ revealOrder: Exclude<SuspenseListRevealOrder, DirectionalSuspenseListProps["revealOrder"]>;
91
93
  /**
92
94
  * The tail property is invalid when not using the `forwards` or `backwards` reveal orders.
93
95
  */
react/ts5.0/index.d.ts CHANGED
@@ -4056,7 +4056,6 @@ declare namespace React {
4056
4056
  * Captures which component contained the exception, and its ancestors.
4057
4057
  */
4058
4058
  componentStack?: string | null;
4059
- digest?: string | null;
4060
4059
  }
4061
4060
 
4062
4061
  // Keep in sync with JSX namespace in ./jsx-runtime.d.ts and ./jsx-dev-runtime.d.ts