mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
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.