@types/react-dom
Advanced tools
@@ -35,1 +35,37 @@ /* eslint-disable @definitelytyped/no-self-import -- self-imports in module augmentations aren't self-imports */ | ||
| export {}; | ||
| declare module "react" { | ||
| // @enableViewTransition | ||
| interface ViewTransitionPseudoElement extends Animatable { | ||
| getComputedStyle: () => CSSStyleDeclaration; | ||
| } | ||
| interface ViewTransitionInstance { | ||
| group: ViewTransitionPseudoElement; | ||
| imagePair: ViewTransitionPseudoElement; | ||
| old: ViewTransitionPseudoElement; | ||
| new: ViewTransitionPseudoElement; | ||
| } | ||
| // @enableFragmentRefs | ||
| interface FragmentInstance { | ||
| blur: () => void; | ||
| focus: (focusOptions?: FocusOptions | undefined) => void; | ||
| focusLast: (focusOptions?: FocusOptions | undefined) => void; | ||
| observeUsing(observer: IntersectionObserver | ResizeObserver): void; | ||
| unobserveUsing(observer: IntersectionObserver | ResizeObserver): void; | ||
| getClientRects(): Array<DOMRect>; | ||
| getRootNode(getRootNodeOptions?: GetRootNodeOptions | undefined): Document | ShadowRoot | FragmentInstance; | ||
| addEventListener( | ||
| type: string, | ||
| listener: EventListener, | ||
| optionsOrUseCapture?: Parameters<Element["addEventListener"]>[2], | ||
| ): void; | ||
| removeEventListener( | ||
| type: string, | ||
| listener: EventListener, | ||
| optionsOrUseCapture?: Parameters<Element["removeEventListener"]>[2], | ||
| ): void; | ||
| scrollIntoView(alignToTop?: boolean): void; | ||
| } | ||
| } |
@@ -42,37 +42,4 @@ /** | ||
| declare module "react" { | ||
| interface ViewTransitionPseudoElement extends Animatable { | ||
| getComputedStyle: () => CSSStyleDeclaration; | ||
| } | ||
| interface ViewTransitionInstance { | ||
| group: ViewTransitionPseudoElement; | ||
| imagePair: ViewTransitionPseudoElement; | ||
| old: ViewTransitionPseudoElement; | ||
| new: ViewTransitionPseudoElement; | ||
| } | ||
| // eslint-disable-next-line @typescript-eslint/no-empty-interface | ||
| interface GestureProvider extends AnimationTimeline {} | ||
| // @enableFragmentRefs | ||
| interface FragmentInstance { | ||
| blur: () => void; | ||
| focus: (focusOptions?: FocusOptions | undefined) => void; | ||
| focusLast: (focusOptions?: FocusOptions | undefined) => void; | ||
| observeUsing(observer: IntersectionObserver | ResizeObserver): void; | ||
| unobserveUsing(observer: IntersectionObserver | ResizeObserver): void; | ||
| getClientRects(): Array<DOMRect>; | ||
| getRootNode(getRootNodeOptions?: GetRootNodeOptions | undefined): Document | ShadowRoot | FragmentInstance; | ||
| addEventListener( | ||
| type: string, | ||
| listener: EventListener, | ||
| optionsOrUseCapture?: Parameters<Element["addEventListener"]>[2], | ||
| ): void; | ||
| removeEventListener( | ||
| type: string, | ||
| listener: EventListener, | ||
| optionsOrUseCapture?: Parameters<Element["removeEventListener"]>[2], | ||
| ): void; | ||
| experimental_scrollIntoView(alignToTop?: boolean): void; | ||
| } | ||
| } | ||
@@ -79,0 +46,0 @@ |
| { | ||
| "name": "@types/react-dom", | ||
| "version": "19.2.0", | ||
| "version": "19.2.1", | ||
| "description": "TypeScript definitions for react-dom", | ||
@@ -126,4 +126,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom", | ||
| }, | ||
| "typesPublisherContentHash": "4a296bd89e24edb236357aa2daf5e5f23648fa3270267dfef1e71cafb2822417", | ||
| "typesPublisherContentHash": "68266be9b96ace4d6eb696cfbf2788d803369c334bed806fb83a2414f592d872", | ||
| "typeScriptVersion": "5.2" | ||
| } |
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Wed, 01 Oct 2025 22:02:19 GMT | ||
| * Last updated: Tue, 07 Oct 2025 05:34:23 GMT | ||
| * Dependencies: none | ||
@@ -14,0 +14,0 @@ * Peer dependencies: [@types/react](https://npmjs.com/package/@types/react) |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
30023
0.14%643
0.47%