@types/react 17.0.66 → 17.0.68

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 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: Tue, 26 Sep 2023 14:05:46 GMT
11
+ * Last updated: Tue, 10 Oct 2023 18:07:33 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: Key | null;
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
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.66",
3
+ "version": "17.0.68",
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": "f122aedb11b03dddcdcca6011dfa1615c22b30b2b0610c19aacf7277cb56660e",
154
+ "typesPublisherContentHash": "8b5e92205ea86fff2f29797250805ce8e69e636c2319f8d4374bc9ddf7dc6f29",
155
155
  "typeScriptVersion": "4.5",
156
156
  "exports": {
157
157
  ".": {