@types/react 18.2.21 → 18.2.22

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/LICENSE CHANGED
File without changes
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: Tue, 22 Aug 2023 18:04:38 GMT
11
+ * Last updated: Mon, 18 Sep 2023 17:06:29 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/canary.d.ts CHANGED
File without changes
react/experimental.d.ts CHANGED
File without changes
react/global.d.ts CHANGED
File without changes
react/index.d.ts CHANGED
@@ -135,7 +135,7 @@ declare namespace React {
135
135
 
136
136
  type ComponentState = any;
137
137
 
138
- type Key = string | number;
138
+ type Key = string | number | bigint;
139
139
 
140
140
  /**
141
141
  * @internal You shouldn't need to use this type since you never see these attributes
File without changes
react/jsx-runtime.d.ts CHANGED
File without changes
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.2.21",
3
+ "version": "18.2.22",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -158,8 +158,8 @@
158
158
  "@types/scheduler": "*",
159
159
  "csstype": "^3.0.2"
160
160
  },
161
- "typesPublisherContentHash": "a80a8549e42e960ee97049810397de46a1ca38930145843cd9a978015edd29cf",
162
- "typeScriptVersion": "4.3",
161
+ "typesPublisherContentHash": "a4974edb6518e3cad1c41b183675f784dcad1f34bd9ab128a18e689c17788cac",
162
+ "typeScriptVersion": "4.5",
163
163
  "exports": {
164
164
  ".": {
165
165
  "types@<=5.0": {
react/ts5.0/canary.d.ts CHANGED
File without changes
File without changes
react/ts5.0/global.d.ts CHANGED
File without changes
react/ts5.0/index.d.ts CHANGED
@@ -103,7 +103,7 @@ declare namespace React {
103
103
 
104
104
  type ComponentState = any;
105
105
 
106
- type Key = string | number;
106
+ type Key = string | number | bigint;
107
107
 
108
108
  /**
109
109
  * @internal You shouldn't need to use this type since you never see these attributes
File without changes
File without changes