@types/react 16.14.27 → 16.14.28

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 (http://facebook.github.io/reac
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: Thu, 16 Jun 2022 09:31:35 GMT
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
 
@@ -149,5 +149,3 @@ interface Text { }
149
149
  interface TouchList { }
150
150
  interface WebGLRenderingContext { }
151
151
  interface WebGL2RenderingContext { }
152
-
153
- interface TrustedHTML { }
react v16.14/index.d.ts CHANGED
@@ -1340,9 +1340,7 @@ declare namespace React {
1340
1340
  interface DOMAttributes<T> {
1341
1341
  children?: ReactNode | undefined;
1342
1342
  dangerouslySetInnerHTML?: {
1343
- // Should be InnerHTML['innerHTML'].
1344
- // But unfortunately we're mixing renderer-specific type declarations.
1345
- __html: string | TrustedHTML;
1343
+ __html: string;
1346
1344
  } | undefined;
1347
1345
 
1348
1346
  // Clipboard Events
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.14.27",
3
+ "version": "16.14.28",
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": "8e79f37f18ad90fa09417755c57d90d2729abd3a19a2d183cf021d9647fbf524",
149
+ "typesPublisherContentHash": "f1a257378a55bc4b5a864f9764913ff5064f3a036cea13a7b54229e73dc31dc2",
150
150
  "typeScriptVersion": "4.0"
151
151
  }