Skip to content

Commit

Permalink
chore: cleaner typings
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Mar 5, 2024
1 parent 4a2056e commit 6018ef4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/announcement-data/AllSystems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ import TrainAnnouncementSystem from './TrainAnnouncementSystem'
import StationAnnouncementSystem from './StationAnnouncementSystem'
import AnnouncementSystem from './AnnouncementSystem'

export const AllTrainAnnouncementSystems: { new (): TrainAnnouncementSystem }[] = [ThameslinkClass700, BombardierXstar, TfWTrainFx, LnerAzuma]
export const AllTrainAnnouncementSystems: (typeof TrainAnnouncementSystem)[] = [ThameslinkClass700, BombardierXstar, TfWTrainFx, LnerAzuma]

export const AllStationAnnouncementSystems: { new (): StationAnnouncementSystem }[] = [
export const AllStationAnnouncementSystems: (typeof StationAnnouncementSystem)[] = [
// AtosMatt,
// AtosAnne,
AmeyPhil,
AmeyCelia,
ScotRail,
]

export const AllOtherAnnouncementSystems: { new (): AnnouncementSystem }[] = [TfLJubileeLine, TfLNorthernLine, TfLElizabethLine]
export const AllOtherAnnouncementSystems: (typeof AnnouncementSystem)[] = [TfLJubileeLine, TfLNorthernLine, TfLElizabethLine]

export const AllAnnouncementSystems: { new (): TrainAnnouncementSystem | StationAnnouncementSystem | AnnouncementSystem }[] = [
export const AllAnnouncementSystems: (typeof AnnouncementSystem)[] = [
...AllStationAnnouncementSystems,
...AllTrainAnnouncementSystems,
...AllOtherAnnouncementSystems,
Expand Down

0 comments on commit 6018ef4

Please sign in to comment.