@types/react 17.0.44 → 17.0.47
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 +2 -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 (http://facebook.github.io/reac
|
|
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: Thu,
|
11
|
+
* Last updated: Thu, 16 Jun 2022 20:31:36 GMT
|
12
12
|
* Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)
|
13
13
|
* Global values: `React`
|
14
14
|
|
react v17.0/index.d.ts
CHANGED
@@ -2082,6 +2082,8 @@ declare namespace React {
|
|
2082
2082
|
}
|
2083
2083
|
|
2084
2084
|
interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
2085
|
+
onCancel?: ReactEventHandler<T> | undefined;
|
2086
|
+
onClose?: ReactEventHandler<T> | undefined;
|
2085
2087
|
open?: boolean | undefined;
|
2086
2088
|
}
|
2087
2089
|
|
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.47",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -146,6 +146,6 @@
|
|
146
146
|
"@types/scheduler": "*",
|
147
147
|
"csstype": "^3.0.2"
|
148
148
|
},
|
149
|
-
"typesPublisherContentHash": "
|
150
|
-
"typeScriptVersion": "
|
149
|
+
"typesPublisherContentHash": "145bbb964a75a52809261a29b2efa83ebe6a401e1e9b6250a4643d48a63fbfde",
|
150
|
+
"typeScriptVersion": "4.0"
|
151
151
|
}
|