@types/react-dom 19.0.3 → 19.0.5

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-dom/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for react-dom (https://reactjs.org).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sun, 12 Jan 2025 10:34:31 GMT
11
+ * Last updated: Wed, 02 Apr 2025 06:39:08 GMT
12
12
  * Dependencies: none
13
13
  * Peer dependencies: [@types/react](https://npmjs.com/package/@types/react)
14
14
 
@@ -36,10 +36,17 @@ declare module "." {
36
36
  }
37
37
 
38
38
  declare module "react" {
39
+ interface ViewTransitionPseudoElement extends Animatable {
40
+ getComputedStyle: () => CSSStyleDeclaration;
41
+ }
42
+
39
43
  interface ViewTransitionInstance {
40
- group: Animatable;
41
- imagePair: Animatable;
42
- old: Animatable;
43
- new: Animatable;
44
+ group: ViewTransitionPseudoElement;
45
+ imagePair: ViewTransitionPseudoElement;
46
+ old: ViewTransitionPseudoElement;
47
+ new: ViewTransitionPseudoElement;
44
48
  }
49
+
50
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
51
+ interface GestureProvider extends AnimationTimeline {}
45
52
  }
react-dom/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "19.0.3",
3
+ "version": "19.0.5",
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",
@@ -88,6 +88,6 @@
88
88
  "peerDependencies": {
89
89
  "@types/react": "^19.0.0"
90
90
  },
91
- "typesPublisherContentHash": "b4f8417d8ef73a0ebc72e2b519998b2e511d9830a45f2bf31562fbcbd6fea691",
92
- "typeScriptVersion": "5.0"
91
+ "typesPublisherContentHash": "a49dc1da18dc4e2bb6470f674475beca5276efbb3ed76ec8812dcc8f4938e06e",
92
+ "typeScriptVersion": "5.1"
93
93
  }