@types/react 16.14.57 → 16.14.59

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 v16.14/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/v16.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 26 Feb 2024 19:06:50 GMT
11
+ * Last updated: Mon, 18 Mar 2024 13:35:36 GMT
12
12
  * Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler), [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react v16.14/index.d.ts CHANGED
@@ -1522,8 +1522,16 @@ declare namespace React {
1522
1522
  onPointerCancel?: PointerEventHandler<T> | undefined;
1523
1523
  onPointerCancelCapture?: PointerEventHandler<T> | undefined;
1524
1524
  onPointerEnter?: PointerEventHandler<T> | undefined;
1525
+ /**
1526
+ * @deprecated This event handler was always ignored by React. It was added by mistake to the types.
1527
+ */
1528
+ // Removing this breaks too many libraries to be worth it.
1525
1529
  onPointerEnterCapture?: PointerEventHandler<T> | undefined;
1526
1530
  onPointerLeave?: PointerEventHandler<T> | undefined;
1531
+ /**
1532
+ * @deprecated This event handler was always ignored by React. It was added by mistake to the types.
1533
+ */
1534
+ // Removing this breaks too many libraries to be worth it.
1527
1535
  onPointerLeaveCapture?: PointerEventHandler<T> | undefined;
1528
1536
  onPointerOver?: PointerEventHandler<T> | undefined;
1529
1537
  onPointerOverCapture?: PointerEventHandler<T> | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.14.57",
3
+ "version": "16.14.59",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -164,6 +164,6 @@
164
164
  "@types/scheduler": "*",
165
165
  "csstype": "^3.0.2"
166
166
  },
167
- "typesPublisherContentHash": "0624b576b9dce75536efab5c2bf3cffec3e8ba22408f7813405ec221ea1acb66",
168
- "typeScriptVersion": "4.6"
167
+ "typesPublisherContentHash": "2ffd286c9eae7298c4f3317f0cbe300faf27ebfab7d8e48986fb3c1b1397a7ff",
168
+ "typeScriptVersion": "4.7"
169
169
  }