@types/react 18.2.77 → 18.2.79

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 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: Thu, 11 Apr 2024 21:35:20 GMT
11
+ * Last updated: Mon, 15 Apr 2024 22:06:51 GMT
12
12
  * Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react/canary.d.ts CHANGED
@@ -30,11 +30,6 @@ export {};
30
30
  declare const UNDEFINED_VOID_ONLY: unique symbol;
31
31
  type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };
32
32
 
33
- /**
34
- * @internal
35
- */
36
- interface ReactContextAsReactNode extends React.Context<React.ReactNode> {}
37
-
38
33
  declare module "." {
39
34
  interface ThenableImpl<T> {
40
35
  then(onFulfill: (value: T) => unknown, onReject: (error: unknown) => unknown): void | PromiseLike<unknown>;
@@ -162,7 +157,7 @@ declare module "." {
162
157
  | null
163
158
  | undefined;
164
159
  interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_REACT_NODES {
165
- contexts: ReactContextAsReactNode;
166
160
  promises: Promise<AwaitedReactNode>;
161
+ bigints: bigint;
167
162
  }
168
163
  }
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.2.77",
3
+ "version": "18.2.79",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -205,6 +205,6 @@
205
205
  "@types/prop-types": "*",
206
206
  "csstype": "^3.0.2"
207
207
  },
208
- "typesPublisherContentHash": "2773ff59b2dd54e1c4b4a9ab41c84eeb90f5e19a520b41273cb1ac6538b0e49c",
208
+ "typesPublisherContentHash": "98f0d79175810315d4f1cf82d5c57e6f44a88905188c7b2e9daa28c415749be1",
209
209
  "typeScriptVersion": "4.7"
210
210
  }
react/ts5.0/canary.d.ts CHANGED
@@ -30,11 +30,6 @@ export {};
30
30
  declare const UNDEFINED_VOID_ONLY: unique symbol;
31
31
  type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };
32
32
 
33
- /**
34
- * @internal
35
- */
36
- interface ReactContextAsReactNode extends React.Context<React.ReactNode> {}
37
-
38
33
  declare module "." {
39
34
  interface ThenableImpl<T> {
40
35
  then(onFulfill: (value: T) => unknown, onReject: (error: unknown) => unknown): void | PromiseLike<unknown>;
@@ -162,7 +157,7 @@ declare module "." {
162
157
  | null
163
158
  | undefined;
164
159
  interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_REACT_NODES {
165
- contexts: ReactContextAsReactNode;
166
160
  promises: Promise<AwaitedReactNode>;
161
+ bigints: bigint;
167
162
  }
168
163
  }