@types/react 18.2.14 → 18.2.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 +1 -1
- react/index.d.ts +4 -0
- react/package.json +2 -2
- react/ts5.0/index.d.ts +3 -0
react/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.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Mon, 24 Jul 2023 22:02:53 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/index.d.ts
CHANGED
@@ -2402,6 +2402,7 @@ declare namespace React {
|
|
2402
2402
|
httpEquiv?: string | undefined;
|
2403
2403
|
name?: string | undefined;
|
2404
2404
|
media?: string | undefined;
|
2405
|
+
content?: string | undefined;
|
2405
2406
|
}
|
2406
2407
|
|
2407
2408
|
interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
|
@@ -2591,6 +2592,9 @@ declare namespace React {
|
|
2591
2592
|
// - "string"
|
2592
2593
|
// - union of string literals
|
2593
2594
|
interface SVGAttributes<T> extends AriaAttributes, DOMAttributes<T> {
|
2595
|
+
// React-specific Attributes
|
2596
|
+
suppressHydrationWarning?: boolean | undefined;
|
2597
|
+
|
2594
2598
|
// Attributes which also defined in HTMLAttributes
|
2595
2599
|
// See comment in SVGDOMPropertyConfig.js
|
2596
2600
|
className?: string | undefined;
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "18.2.
|
3
|
+
"version": "18.2.16",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -158,7 +158,7 @@
|
|
158
158
|
"@types/scheduler": "*",
|
159
159
|
"csstype": "^3.0.2"
|
160
160
|
},
|
161
|
-
"typesPublisherContentHash": "
|
161
|
+
"typesPublisherContentHash": "80042da250e9a1a4fa150517a21f8a9fa3e93bc73de2690f7eed458dc1ab5405",
|
162
162
|
"typeScriptVersion": "4.3",
|
163
163
|
"exports": {
|
164
164
|
".": {
|
react/ts5.0/index.d.ts
CHANGED
@@ -2560,6 +2560,9 @@ declare namespace React {
|
|
2560
2560
|
// - "string"
|
2561
2561
|
// - union of string literals
|
2562
2562
|
interface SVGAttributes<T> extends AriaAttributes, DOMAttributes<T> {
|
2563
|
+
// React-specific Attributes
|
2564
|
+
suppressHydrationWarning?: boolean | undefined;
|
2565
|
+
|
2563
2566
|
// Attributes which also defined in HTMLAttributes
|
2564
2567
|
// See comment in SVGDOMPropertyConfig.js
|
2565
2568
|
className?: string | undefined;
|