@types/react 17.0.29 → 17.0.30

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.
Files changed (3) hide show
  1. react/README.md +1 -1
  2. react/index.d.ts +1 -1
  3. react/package.json +2 -2
react/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (http://facebook.github.io/reac
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 12 Oct 2021 17:01:23 GMT
11
+ * Last updated: Thu, 14 Oct 2021 13:31:24 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
@@ -232,7 +232,7 @@ declare namespace React {
232
232
  type ReactText = string | number;
233
233
  type ReactChild = ReactElement | ReactText;
234
234
 
235
- interface ReactNodeArray extends Array<ReactNode> {}
235
+ interface ReactNodeArray extends ReadonlyArray<ReactNode> {}
236
236
  type ReactFragment = {} | ReactNodeArray;
237
237
  type ReactNode = ReactChild | ReactFragment | ReactPortal | boolean | null | undefined;
238
238
 
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.29",
3
+ "version": "17.0.30",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -146,6 +146,6 @@
146
146
  "@types/scheduler": "*",
147
147
  "csstype": "^3.0.2"
148
148
  },
149
- "typesPublisherContentHash": "10ca14c4a0d743fd4f59f18f50a3a1508ba08ed43de63a36146932dd65e28f27",
149
+ "typesPublisherContentHash": "1a41914859013273c0a1fad5250c23ba28dfa7a43d17f880533055def64075ae",
150
150
  "typeScriptVersion": "3.7"
151
151
  }