@types/react 17.0.44 → 17.0.45

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 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, 07 Apr 2022 17:31:22 GMT
11
+ * Last updated: Fri, 06 May 2022 20:01:40 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
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.44",
3
+ "version": "17.0.45",
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": "e2337761fa2e58147fa60cfb84ff8c8c71c26c6c9f87260f220e15cb430c5ca4",
149
+ "typesPublisherContentHash": "145bbb964a75a52809261a29b2efa83ebe6a401e1e9b6250a4643d48a63fbfde",
150
150
  "typeScriptVersion": "3.9"
151
151
  }