@types/react 18.2.69 → 18.2.71

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: Fri, 22 Mar 2024 19:35:52 GMT
11
+ * Last updated: Tue, 26 Mar 2024 08:07:57 GMT
12
12
  * Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler), [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react/index.d.ts CHANGED
@@ -6,7 +6,6 @@
6
6
 
7
7
  import * as CSS from "csstype";
8
8
  import * as PropTypes from "prop-types";
9
- import { Interaction as SchedulerInteraction } from "scheduler/tracing";
10
9
 
11
10
  type NativeAnimationEvent = AnimationEvent;
12
11
  type NativeClipboardEvent = ClipboardEvent;
@@ -917,7 +916,6 @@ declare namespace React {
917
916
  * @see {@link https://react.dev/reference/react/Profiler#onrender-callback React Docs}
918
917
  */
919
918
  commitTime: number,
920
- interactions: Set<SchedulerInteraction>,
921
919
  ) => void;
922
920
 
923
921
  /**
@@ -995,7 +993,7 @@ declare namespace React {
995
993
  */
996
994
  context: unknown;
997
995
 
998
- constructor(props: Readonly<P> | P);
996
+ constructor(props: P);
999
997
  /**
1000
998
  * @deprecated
1001
999
  * @see {@link https://legacy.reactjs.org/docs/legacy-context.html React Docs}
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.2.69",
3
+ "version": "18.2.71",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -206,6 +206,6 @@
206
206
  "@types/scheduler": "*",
207
207
  "csstype": "^3.0.2"
208
208
  },
209
- "typesPublisherContentHash": "a5439cab82f6b305cd6e219e60d20a0000468bf15584605d299749f947321ec7",
209
+ "typesPublisherContentHash": "100b911ab5ad30888b59523d8685a2d814fee691faac49c372e6948217e3914b",
210
210
  "typeScriptVersion": "4.7"
211
211
  }
react/ts5.0/index.d.ts CHANGED
@@ -6,7 +6,6 @@
6
6
 
7
7
  import * as CSS from "csstype";
8
8
  import * as PropTypes from "prop-types";
9
- import { Interaction as SchedulerInteraction } from "scheduler/tracing";
10
9
 
11
10
  type NativeAnimationEvent = AnimationEvent;
12
11
  type NativeClipboardEvent = ClipboardEvent;
@@ -918,7 +917,6 @@ declare namespace React {
918
917
  * @see {@link https://react.dev/reference/react/Profiler#onrender-callback React Docs}
919
918
  */
920
919
  commitTime: number,
921
- interactions: Set<SchedulerInteraction>,
922
920
  ) => void;
923
921
 
924
922
  /**
@@ -996,7 +994,7 @@ declare namespace React {
996
994
  */
997
995
  context: unknown;
998
996
 
999
- constructor(props: Readonly<P> | P);
997
+ constructor(props: P);
1000
998
  /**
1001
999
  * @deprecated
1002
1000
  * @see {@link https://legacy.reactjs.org/docs/legacy-context.html React Docs}