@types/react 18.2.69 → 18.2.70

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: Mon, 25 Mar 2024 09:35:32 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
@@ -995,7 +995,7 @@ declare namespace React {
995
995
  */
996
996
  context: unknown;
997
997
 
998
- constructor(props: Readonly<P> | P);
998
+ constructor(props: P);
999
999
  /**
1000
1000
  * @deprecated
1001
1001
  * @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.70",
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": "73fd0bbfbb1887efb5bc0d6baf9a096118379ae3db40b4eadd11d127d729c42c",
210
210
  "typeScriptVersion": "4.7"
211
211
  }
react/ts5.0/index.d.ts CHANGED
@@ -996,7 +996,7 @@ declare namespace React {
996
996
  */
997
997
  context: unknown;
998
998
 
999
- constructor(props: Readonly<P> | P);
999
+ constructor(props: P);
1000
1000
  /**
1001
1001
  * @deprecated
1002
1002
  * @see {@link https://legacy.reactjs.org/docs/legacy-context.html React Docs}