@types/react 18.2.13 → 18.2.15
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 +3 -0
- react/package.json +2 -2
- react/ts5.0/index.d.ts +4 -1
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: Thu, 13 Jul 2023 17:02:48 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
@@ -2591,6 +2591,9 @@ declare namespace React {
|
|
2591
2591
|
// - "string"
|
2592
2592
|
// - union of string literals
|
2593
2593
|
interface SVGAttributes<T> extends AriaAttributes, DOMAttributes<T> {
|
2594
|
+
// React-specific Attributes
|
2595
|
+
suppressHydrationWarning?: boolean | undefined;
|
2596
|
+
|
2594
2597
|
// Attributes which also defined in HTMLAttributes
|
2595
2598
|
// See comment in SVGDOMPropertyConfig.js
|
2596
2599
|
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.15",
|
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": "ed4ae2a1124625e2cb6d4f15ecf30e9bd3153c4b51f62fd8fd7941e5347a7d0d",
|
162
162
|
"typeScriptVersion": "4.3",
|
163
163
|
"exports": {
|
164
164
|
".": {
|
react/ts5.0/index.d.ts
CHANGED
@@ -352,7 +352,7 @@ declare namespace React {
|
|
352
352
|
/**
|
353
353
|
* **NOTE**: Exotic components are not callable.
|
354
354
|
*/
|
355
|
-
(props: P): (ReactElement|null);
|
355
|
+
(props: P): (ReactElement | null);
|
356
356
|
readonly $$typeof: symbol;
|
357
357
|
}
|
358
358
|
|
@@ -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;
|