@types/react 18.2.59 → 18.2.60
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 +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: Tue, 27 Feb 2024 09:06:52 GMT
|
12
12
|
* Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler), [csstype](https://npmjs.com/package/csstype)
|
13
13
|
|
14
14
|
# Credits
|
react/index.d.ts
CHANGED
@@ -284,6 +284,9 @@ declare namespace React {
|
|
284
284
|
key: string | null;
|
285
285
|
}
|
286
286
|
|
287
|
+
/**
|
288
|
+
* @deprecated
|
289
|
+
*/
|
287
290
|
interface ReactComponentElement<
|
288
291
|
T extends keyof JSX.IntrinsicElements | JSXElementConstructor<any>,
|
289
292
|
P = Pick<ComponentProps<T>, Exclude<keyof ComponentProps<T>, "key" | "ref">>,
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "18.2.
|
3
|
+
"version": "18.2.60",
|
4
4
|
"description": "TypeScript definitions for react",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -201,6 +201,6 @@
|
|
201
201
|
"@types/scheduler": "*",
|
202
202
|
"csstype": "^3.0.2"
|
203
203
|
},
|
204
|
-
"typesPublisherContentHash": "
|
204
|
+
"typesPublisherContentHash": "cc510b85587c5066cc0a536acf0b69e30af6fea74671e2c9af44f21d265f95a0",
|
205
205
|
"typeScriptVersion": "4.6"
|
206
206
|
}
|
react/ts5.0/index.d.ts
CHANGED
@@ -280,6 +280,9 @@ declare namespace React {
|
|
280
280
|
key: string | null;
|
281
281
|
}
|
282
282
|
|
283
|
+
/**
|
284
|
+
* @deprecated
|
285
|
+
*/
|
283
286
|
interface ReactComponentElement<
|
284
287
|
T extends keyof JSX.IntrinsicElements | JSXElementConstructor<any>,
|
285
288
|
P = Pick<ComponentProps<T>, Exclude<keyof ComponentProps<T>, "key" | "ref">>,
|