@types/react 19.2.2 → 19.2.3

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, 07 Oct 2025 05:34:23 GMT
11
+ * Last updated: Tue, 11 Nov 2025 15:36:05 GMT
12
12
  * Dependencies: [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react/experimental.d.ts CHANGED
@@ -43,12 +43,13 @@ type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };
43
43
 
44
44
  declare module "." {
45
45
  export interface SuspenseProps {
46
+ // @enableCPUSuspense
46
47
  /**
47
48
  * The presence of this prop indicates that the content is computationally expensive to render.
48
49
  * In other words, the tree is CPU bound and not I/O bound (e.g. due to fetching data).
49
50
  * @see {@link https://github.com/facebook/react/pull/19936}
50
51
  */
51
- unstable_expectedLoadTime?: number | undefined;
52
+ defer?: boolean | undefined;
52
53
  }
53
54
 
54
55
  export type SuspenseListRevealOrder = "forwards" | "backwards" | "together" | "independent";
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "19.2.2",
3
+ "version": "19.2.3",
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": "68c52e24d44da5913d4220a0dd3380ca866be4e58a724ee668fa152a7b358e72",
208
+ "typesPublisherContentHash": "137dc6599832a7f1b9a458198af4ab88316935915facbd7cdf89cd676a01a6da",
209
209
  "typeScriptVersion": "5.2"
210
210
  }
@@ -43,12 +43,13 @@ type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };
43
43
 
44
44
  declare module "." {
45
45
  export interface SuspenseProps {
46
+ // @enableCPUSuspense
46
47
  /**
47
48
  * The presence of this prop indicates that the content is computationally expensive to render.
48
49
  * In other words, the tree is CPU bound and not I/O bound (e.g. due to fetching data).
49
50
  * @see {@link https://github.com/facebook/react/pull/19936}
50
51
  */
51
- unstable_expectedLoadTime?: number | undefined;
52
+ defer?: boolean | undefined;
52
53
  }
53
54
 
54
55
  export type SuspenseListRevealOrder = "forwards" | "backwards" | "together" | "independent";