@types/react 18.0.34 → 18.0.36
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 +2 -2
- react/index.d.ts +1 -1
- react/next.d.ts +1 -1
- react/package.json +2 -2
react/README.md
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
> `npm install --save @types/react`
|
3
3
|
|
4
4
|
# Summary
|
5
|
-
This package contains type definitions for React (
|
5
|
+
This package contains type definitions for React (https://react.dev/).
|
6
6
|
|
7
7
|
# Details
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated: Mon,
|
11
|
+
* Last updated: Mon, 17 Apr 2023 16:32:44 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
react/next.d.ts
CHANGED
@@ -55,7 +55,7 @@ declare module '.' {
|
|
55
55
|
|
56
56
|
export function use<T>(usable: Usable<T>): T;
|
57
57
|
|
58
|
-
interface ServerContextJSONArray extends ReadonlyArray<
|
58
|
+
interface ServerContextJSONArray extends ReadonlyArray<ServerContextJSONValue> {}
|
59
59
|
export type ServerContextJSONValue =
|
60
60
|
| string
|
61
61
|
| boolean
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "18.0.
|
3
|
+
"version": "18.0.36",
|
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": "
|
154
|
+
"typesPublisherContentHash": "4bb6f6676b056920a0520e62bafde0d3173993925da8e73327494e4b9d65211c",
|
155
155
|
"typeScriptVersion": "4.3",
|
156
156
|
"exports": {
|
157
157
|
".": {
|