@types/react 17.0.78 → 17.0.80
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 v17.0/README.md +1 -1
- react v17.0/index.d.ts +10 -0
- react v17.0/package.json +3 -3
react v17.0/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/v17.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Tue, 26 Mar 2024 08:07:57 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 v17.0/index.d.ts
CHANGED
@@ -1522,7 +1522,17 @@ 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.
|
1529
|
+
onPointerEnterCapture?: PointerEventHandler<T> | undefined;
|
1525
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.
|
1535
|
+
onPointerLeaveCapture?: PointerEventHandler<T> | undefined;
|
1526
1536
|
onPointerOver?: PointerEventHandler<T> | undefined;
|
1527
1537
|
onPointerOverCapture?: PointerEventHandler<T> | undefined;
|
1528
1538
|
onPointerOut?: PointerEventHandler<T> | undefined;
|
react v17.0/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "17.0.
|
3
|
+
"version": "17.0.80",
|
4
4
|
"description": "TypeScript definitions for react",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -166,9 +166,9 @@
|
|
166
166
|
"scripts": {},
|
167
167
|
"dependencies": {
|
168
168
|
"@types/prop-types": "*",
|
169
|
-
"@types/scheduler": "
|
169
|
+
"@types/scheduler": "^0.16",
|
170
170
|
"csstype": "^3.0.2"
|
171
171
|
},
|
172
|
-
"typesPublisherContentHash": "
|
172
|
+
"typesPublisherContentHash": "c70c8c25ecbd0d06f8a7f4eb0f6eff56f05387587a57e9837de542973ca86bea",
|
173
173
|
"typeScriptVersion": "4.7"
|
174
174
|
}
|