Files
angular/devtools/projects
Andrew Scott c404420d1f fix(devtools): use MouseEvent for mouseover and mouseout listeners in tree visualizer
In @types/d3-selection >= 3.0.12, listener callbacks for mouseover and mouseout
events are strongly typed to receive MouseEvent. Because PointerEvent is a
subtype of MouseEvent, typing the listener parameter as PointerEvent causes
a TypeScript compilation error.

Update nodeMouseoverListeners and nodeMouseoutListeners in GraphRenderer and the
corresponding D3 event handlers in TreeVisualizer to use MouseEvent.

(cherry picked from commit 03795a9f5d)
2026-09-29 22:36:02 +00:00
..