@types/react 18.0.13 → 18.0.16

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 (http://facebook.github.io/reac
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 16 Jun 2022 09:31:35 GMT
11
+ * Last updated: Sun, 07 Aug 2022 10:02:14 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/global.d.ts CHANGED
@@ -153,5 +153,3 @@ interface Text { }
153
153
  interface TouchList { }
154
154
  interface WebGLRenderingContext { }
155
155
  interface WebGL2RenderingContext { }
156
-
157
- interface TrustedHTML { }
react/index.d.ts CHANGED
@@ -1272,6 +1272,7 @@ declare namespace React {
1272
1272
  shiftKey: boolean;
1273
1273
  /** @deprecated */
1274
1274
  which: number;
1275
+ target: EventTarget & T;
1275
1276
  }
1276
1277
 
1277
1278
  interface MouseEvent<T = Element, E = NativeMouseEvent> extends UIEvent<T, E> {
@@ -1372,9 +1373,7 @@ declare namespace React {
1372
1373
  interface DOMAttributes<T> {
1373
1374
  children?: ReactNode | undefined;
1374
1375
  dangerouslySetInnerHTML?: {
1375
- // Should be InnerHTML['innerHTML'].
1376
- // But unfortunately we're mixing renderer-specific type declarations.
1377
- __html: string | TrustedHTML;
1376
+ __html: string;
1378
1377
  } | undefined;
1379
1378
 
1380
1379
  // Clipboard Events
@@ -2144,6 +2143,7 @@ declare namespace React {
2144
2143
  name?: string | undefined;
2145
2144
  noValidate?: boolean | undefined;
2146
2145
  target?: string | undefined;
2146
+ rel?: string | undefined;
2147
2147
  }
2148
2148
 
2149
2149
  interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.0.13",
3
+ "version": "18.0.16",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -146,7 +146,7 @@
146
146
  "@types/scheduler": "*",
147
147
  "csstype": "^3.0.2"
148
148
  },
149
- "typesPublisherContentHash": "993a6c1cee3eee852c6cc7c50cdec06272bb1d25cd7d531b1907deb226fa1a83",
149
+ "typesPublisherContentHash": "ad373408644e89c38e014bf157baed9ea1ebab53fbfa7345344640e44a171dd5",
150
150
  "typeScriptVersion": "4.0",
151
151
  "exports": {
152
152
  ".": {