@types/react-dom 15.5.20 → 15.5.22

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.
@@ -8,8 +8,10 @@ This package contains type definitions for react-dom (http://facebook.github.io/
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom/v15.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 07 Nov 2023 20:08:00 GMT
12
- * Dependencies: [@types/react](https://npmjs.com/package/@types/react)
11
+ * Last updated: Mon, 09 Dec 2024 19:32:14 GMT
12
+ * Dependencies: none
13
+
14
+ * Peer dependencies: [@types/react](https://npmjs.com/package/@types/react)
13
15
 
14
16
  # Credits
15
17
  These definitions were written by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com), and [MartynasZilinskas](https://github.com/MartynasZilinskas).
@@ -33,6 +33,7 @@ export function render<P>(
33
33
  element: ReactElement<P>,
34
34
  container: Element | null,
35
35
  callback?: (component?: Component<P, ComponentState> | Element) => any,
36
+ // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
36
37
  ): Component<P, ComponentState> | Element | void;
37
38
  export function render<P>(
38
39
  parentComponent: Component<any>,
@@ -65,4 +66,5 @@ export function unstable_renderSubtreeIntoContainer<P>(
65
66
  element: ReactElement<P>,
66
67
  container: Element,
67
68
  callback?: (component?: Component<P, ComponentState> | Element) => any,
69
+ // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
68
70
  ): Component<P, ComponentState> | Element | void;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "15.5.20",
3
+ "version": "15.5.22",
4
4
  "description": "TypeScript definitions for react-dom",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom",
6
6
  "license": "MIT",
@@ -31,9 +31,10 @@
31
31
  "directory": "types/react-dom"
32
32
  },
33
33
  "scripts": {},
34
- "dependencies": {
35
- "@types/react": "^15"
34
+ "dependencies": {},
35
+ "peerDependencies": {
36
+ "@types/react": "^15.0.0"
36
37
  },
37
- "typesPublisherContentHash": "64459358d5bb3a7a0560b648b745afd24c8016238a172d6fb28215336cb55bdb",
38
- "typeScriptVersion": "4.5"
38
+ "typesPublisherContentHash": "5f60b2d54285ed6e853df225b8ccb3188247f442235e69db5328d5a23eee206c",
39
+ "typeScriptVersion": "5.0"
39
40
  }