@types/react 18.2.41 → 18.2.43

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: Sat, 02 Dec 2023 17:07:00 GMT
11
+ * Last updated: Sat, 09 Dec 2023 13:06: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
@@ -794,6 +794,9 @@ declare namespace React {
794
794
  UNSAFE_componentWillUpdate?(nextProps: Readonly<P>, nextState: Readonly<S>, nextContext: any): void;
795
795
  }
796
796
 
797
+ /**
798
+ * @deprecated https://legacy.reactjs.org/blog/2016/07/13/mixins-considered-harmful.html
799
+ */
797
800
  interface Mixin<P, S> extends ComponentLifecycle<P, S> {
798
801
  mixins?: Array<Mixin<P, S>> | undefined;
799
802
  statics?: {
@@ -809,6 +812,9 @@ declare namespace React {
809
812
  getInitialState?(): S;
810
813
  }
811
814
 
815
+ /**
816
+ * @deprecated https://legacy.reactjs.org/blog/2016/07/13/mixins-considered-harmful.html
817
+ */
812
818
  interface ComponentSpec<P, S> extends Mixin<P, S> {
813
819
  render(): ReactNode;
814
820
 
@@ -1972,7 +1978,6 @@ declare namespace React {
1972
1978
  id?: string | undefined;
1973
1979
  lang?: string | undefined;
1974
1980
  nonce?: string | undefined;
1975
- placeholder?: string | undefined;
1976
1981
  slot?: string | undefined;
1977
1982
  spellCheck?: Booleanish | undefined;
1978
1983
  style?: CSSProperties | undefined;
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.2.41",
3
+ "version": "18.2.43",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -201,6 +201,6 @@
201
201
  "@types/scheduler": "*",
202
202
  "csstype": "^3.0.2"
203
203
  },
204
- "typesPublisherContentHash": "8505990e29e747f13b82dc62d59fcb677a12e2150527e5de599a9cc19e91a448",
204
+ "typesPublisherContentHash": "13554309eed9d8e30eb9feda1cb917d4559729be1a4808a10ec91793edd79ef7",
205
205
  "typeScriptVersion": "4.6"
206
206
  }
react/ts5.0/index.d.ts CHANGED
@@ -795,6 +795,9 @@ declare namespace React {
795
795
  UNSAFE_componentWillUpdate?(nextProps: Readonly<P>, nextState: Readonly<S>, nextContext: any): void;
796
796
  }
797
797
 
798
+ /**
799
+ * @deprecated https://legacy.reactjs.org/blog/2016/07/13/mixins-considered-harmful.html
800
+ */
798
801
  interface Mixin<P, S> extends ComponentLifecycle<P, S> {
799
802
  mixins?: Array<Mixin<P, S>> | undefined;
800
803
  statics?: {
@@ -810,6 +813,9 @@ declare namespace React {
810
813
  getInitialState?(): S;
811
814
  }
812
815
 
816
+ /**
817
+ * @deprecated https://legacy.reactjs.org/blog/2016/07/13/mixins-considered-harmful.html
818
+ */
813
819
  interface ComponentSpec<P, S> extends Mixin<P, S> {
814
820
  render(): ReactNode;
815
821
 
@@ -1973,7 +1979,6 @@ declare namespace React {
1973
1979
  id?: string | undefined;
1974
1980
  lang?: string | undefined;
1975
1981
  nonce?: string | undefined;
1976
- placeholder?: string | undefined;
1977
1982
  slot?: string | undefined;
1978
1983
  spellCheck?: Booleanish | undefined;
1979
1984
  style?: CSSProperties | undefined;