@types/react 17.0.66 → 17.0.67
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 v17.0/README.md +1 -1
- react v17.0/index.d.ts +1 -2
- react v17.0/package.json +2 -2
react v17.0/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/v17.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Sun, 01 Oct 2023 10:05:57 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 v17.0/index.d.ts
CHANGED
@@ -141,7 +141,7 @@ declare namespace React {
|
|
141
141
|
> {
|
142
142
|
type: T;
|
143
143
|
props: P;
|
144
|
-
key:
|
144
|
+
key: string | null;
|
145
145
|
}
|
146
146
|
|
147
147
|
interface ReactComponentElement<
|
@@ -185,7 +185,6 @@ declare namespace React {
|
|
185
185
|
}
|
186
186
|
|
187
187
|
interface ReactPortal extends ReactElement {
|
188
|
-
key: Key | null;
|
189
188
|
children: ReactNode;
|
190
189
|
}
|
191
190
|
|
react v17.0/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "17.0.
|
3
|
+
"version": "17.0.67",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -151,7 +151,7 @@
|
|
151
151
|
"@types/scheduler": "*",
|
152
152
|
"csstype": "^3.0.2"
|
153
153
|
},
|
154
|
-
"typesPublisherContentHash": "
|
154
|
+
"typesPublisherContentHash": "a493e4ee7b9828f8471de1c1da3d2aae2b766573ecb95a3b740d770fb4ad499d",
|
155
155
|
"typeScriptVersion": "4.5",
|
156
156
|
"exports": {
|
157
157
|
".": {
|