@types/react 19.1.13 → 19.1.14

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: Fri, 12 Sep 2025 18:37:07 GMT
11
+ * Last updated: Fri, 26 Sep 2025 17:34:03 GMT
12
12
  * Dependencies: [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react/canary.d.ts CHANGED
@@ -57,4 +57,10 @@ declare module "." {
57
57
  * @see {@link https://react.dev/reference/react/Activity `<Activity>` documentation}
58
58
  */
59
59
  export const Activity: ExoticComponent<ActivityProps>;
60
+
61
+ /**
62
+ * @see {@link https://react.dev/reference/react/useEffectEvent `useEffectEvent()` documentation}
63
+ */
64
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
65
+ export function useEffectEvent<T extends Function>(callback: T): T;
60
66
  }
react/experimental.d.ts CHANGED
@@ -108,9 +108,6 @@ declare module "." {
108
108
  */
109
109
  export const unstable_SuspenseList: ExoticComponent<SuspenseListProps>;
110
110
 
111
- // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
112
- export function experimental_useEffectEvent<T extends Function>(event: T): T;
113
-
114
111
  type Reference = object;
115
112
  type TaintableUniqueValue = string | bigint | ArrayBufferView;
116
113
  function experimental_taintUniqueValue(
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "19.1.13",
3
+ "version": "19.1.14",
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": "ddb7945c2f416044519a6a1e2692fb96d34d1c4a4a5103d454254bf3818a8478",
208
+ "typesPublisherContentHash": "ab01caeb4b672552960a2a8d6e8ceda65a84578dcc38eed752dd4e716d45b44f",
209
209
  "typeScriptVersion": "5.2"
210
210
  }
react/ts5.0/canary.d.ts CHANGED
@@ -57,4 +57,10 @@ declare module "." {
57
57
  * @see {@link https://react.dev/reference/react/Activity `<Activity>` documentation}
58
58
  */
59
59
  export const Activity: ExoticComponent<ActivityProps>;
60
+
61
+ /**
62
+ * @see {@link https://react.dev/reference/react/useEffectEvent `useEffectEvent()` documentation}
63
+ */
64
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
65
+ export function useEffectEvent<T extends Function>(callback: T): T;
60
66
  }
@@ -108,9 +108,6 @@ declare module "." {
108
108
  */
109
109
  export const unstable_SuspenseList: ExoticComponent<SuspenseListProps>;
110
110
 
111
- // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
112
- export function experimental_useEffectEvent<T extends Function>(event: T): T;
113
-
114
111
  type Reference = object;
115
112
  type TaintableUniqueValue = string | bigint | ArrayBufferView;
116
113
  function experimental_taintUniqueValue(