Skip to content

Commit

Permalink
Remove busType from bus handler (#26)
Browse files Browse the repository at this point in the history
Signed-off-by: LE SAULNIER Kevin <kevin.lesaulnier@rte-france.com>
  • Loading branch information
klesaulnier authored Jul 21, 2023
1 parent 5a2e158 commit e8ab5c8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/single-line-diagram-viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export type OnFeederCallbackType = (

export type OnBusCallbackType = (
busId: string,
busType: string | null,
svgId: string,
x: number,
y: number
Expand Down Expand Up @@ -734,7 +733,6 @@ export class SingleLineDiagramViewer {
this.onBusCallback &&
this.onBusCallback(
bus.equipmentId,
bus.componentType,
bus.id,
event.x,
event.y
Expand Down

0 comments on commit e8ab5c8

Please sign in to comment.