@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.
Files changed (4) hide show
  1. react/README.md +2 -2
  2. react/index.d.ts +1 -1
  3. react/next.d.ts +1 -1
  4. 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 (http://facebook.github.io/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, 10 Apr 2023 11:03:28 GMT
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
@@ -1,5 +1,5 @@
1
1
  // Type definitions for React 18.0
2
- // Project: http://facebook.github.io/react/
2
+ // Project: https://react.dev/
3
3
  // Definitions by: Asana <https://asana.com>
4
4
  // AssureSign <http://www.assuresign.com>
5
5
  // Microsoft <https://microsoft.com>
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<ServerContextJSONArray> {}
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.34",
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": "339d0685f4e73708474cfe0fc9e78b2d2a63829155b96dd55c5df388121ac73f",
154
+ "typesPublisherContentHash": "4bb6f6676b056920a0520e62bafde0d3173993925da8e73327494e4b9d65211c",
155
155
  "typeScriptVersion": "4.3",
156
156
  "exports": {
157
157
  ".": {