@types/react 18.0.35 → 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 (3) hide show
  1. react/README.md +1 -1
  2. react/next.d.ts +1 -1
  3. react/package.json +2 -2
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: Wed, 12 Apr 2023 10:33:21 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/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.35",
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": "1bcb6e14c19458140687c02d9c7ef264748e6613f0691aca2f803364e54c1529",
154
+ "typesPublisherContentHash": "4bb6f6676b056920a0520e62bafde0d3173993925da8e73327494e4b9d65211c",
155
155
  "typeScriptVersion": "4.3",
156
156
  "exports": {
157
157
  ".": {