@types/react 18.2.20 → 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 +0 -0
- react/README.md +1 -1
- react/canary.d.ts +0 -0
- react/experimental.d.ts +0 -0
- react/global.d.ts +0 -0
- react/index.d.ts +2 -2
- react/jsx-dev-runtime.d.ts +0 -0
- react/jsx-runtime.d.ts +0 -0
- react/package.json +3 -3
- react/ts5.0/canary.d.ts +0 -0
- react/ts5.0/experimental.d.ts +0 -0
- react/ts5.0/global.d.ts +0 -0
- react/ts5.0/index.d.ts +2 -2
- react/ts5.0/jsx-dev-runtime.d.ts +0 -0
- react/ts5.0/jsx-runtime.d.ts +0 -0
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:
|
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
@@ -60,7 +60,7 @@ declare const UNDEFINED_VOID_ONLY: unique symbol;
|
|
60
60
|
type Destructor = () => void | { [UNDEFINED_VOID_ONLY]: never };
|
61
61
|
type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };
|
62
62
|
|
63
|
-
// eslint-disable-next-line export-just-namespace
|
63
|
+
// eslint-disable-next-line @definitelytyped/export-just-namespace
|
64
64
|
export = React;
|
65
65
|
export as namespace React;
|
66
66
|
|
@@ -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
|
react/jsx-dev-runtime.d.ts
CHANGED
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.
|
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": "
|
162
|
-
"typeScriptVersion": "4.
|
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
|
react/ts5.0/experimental.d.ts
CHANGED
File without changes
|
react/ts5.0/global.d.ts
CHANGED
File without changes
|
react/ts5.0/index.d.ts
CHANGED
@@ -28,7 +28,7 @@ declare const UNDEFINED_VOID_ONLY: unique symbol;
|
|
28
28
|
type Destructor = () => void | { [UNDEFINED_VOID_ONLY]: never };
|
29
29
|
type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };
|
30
30
|
|
31
|
-
// eslint-disable-next-line export-just-namespace
|
31
|
+
// eslint-disable-next-line @definitelytyped/export-just-namespace
|
32
32
|
export = React;
|
33
33
|
export as namespace React;
|
34
34
|
|
@@ -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
|
react/ts5.0/jsx-dev-runtime.d.ts
CHANGED
File without changes
|
react/ts5.0/jsx-runtime.d.ts
CHANGED
File without changes
|