@types/react 19.1.16 → 19.1.17
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/package.json +2 -2
- react/ts5.0/index.d.ts +2 -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: Wed, 01 Oct 2025 17:02:25 GMT
|
12
12
|
* Dependencies: [csstype](https://npmjs.com/package/csstype)
|
13
13
|
|
14
14
|
# Credits
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "19.1.
|
3
|
+
"version": "19.1.17",
|
4
4
|
"description": "TypeScript definitions for react",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -205,6 +205,6 @@
|
|
205
205
|
"csstype": "^3.0.2"
|
206
206
|
},
|
207
207
|
"peerDependencies": {},
|
208
|
-
"typesPublisherContentHash": "
|
208
|
+
"typesPublisherContentHash": "88f50d5bb0338b7142b9c2f85f777ba5a29c003018ee74638bedaba8b2c3ae56",
|
209
209
|
"typeScriptVersion": "5.2"
|
210
210
|
}
|
react/ts5.0/index.d.ts
CHANGED
@@ -1126,7 +1126,8 @@ declare namespace React {
|
|
1126
1126
|
interface ComponentClass<P = {}, S = ComponentState> extends StaticLifecycle<P, S> {
|
1127
1127
|
// constructor signature must match React.Component
|
1128
1128
|
new(
|
1129
|
-
props: P,
|
1129
|
+
props: P,
|
1130
|
+
/**
|
1130
1131
|
* Value of the parent {@link https://react.dev/reference/react/Component#context Context} specified
|
1131
1132
|
* in `contextType`.
|
1132
1133
|
*/
|