@types/react 18.2.20 → 18.2.21
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/README.md +1 -1
- react/index.d.ts +1 -1
- react/package.json +2 -2
- react/ts5.0/index.d.ts +1 -1
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: Tue, 22 Aug 2023 18:04:38 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
@@ -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
|
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "18.2.
|
3
|
+
"version": "18.2.21",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -158,7 +158,7 @@
|
|
158
158
|
"@types/scheduler": "*",
|
159
159
|
"csstype": "^3.0.2"
|
160
160
|
},
|
161
|
-
"typesPublisherContentHash": "
|
161
|
+
"typesPublisherContentHash": "a80a8549e42e960ee97049810397de46a1ca38930145843cd9a978015edd29cf",
|
162
162
|
"typeScriptVersion": "4.3",
|
163
163
|
"exports": {
|
164
164
|
".": {
|
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
|
|