Skip to content

Commit

Permalink
also goes with that merge
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-heppner-ibigroup committed Sep 29, 2023
1 parent 3ba20b9 commit fd5bfaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/util/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MapLocationActionArg, Route } from '@opentripplanner/types'
import { MapLocationActionArg, Route, Stop } from '@opentripplanner/types'

// TYPESCRIPT TODO: move this to a larger shared types file, preferably within otp-ui
export interface StopData {
Expand Down Expand Up @@ -93,7 +93,7 @@ export interface ViewedRouteObject extends Route {

export type SetViewedRouteHandler = (route?: ViewedRouteState) => void

export type SetViewedStopHandler = (payload: { stopId: string } | null) => void
export type SetViewedStopHandler = (payload: Stop | null) => void

export type SetLocationHandler = (payload: MapLocationActionArg) => void

Expand Down

0 comments on commit fd5bfaa

Please sign in to comment.