Skip to content

Commit

Permalink
fix(types): add StopEventHandler to avoid breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-heppner-ibigroup committed Nov 9, 2023
1 parent 6981e28 commit 6a7336f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,8 @@ export type StopLayerStop = LayerEntity & {
name: string;
};

export type StopEventHanlder = (stop: Stop | { stopId: string }) => void;

/**
* This models data about a stop and it's associated routes that is obtained
* from a transit index API.
Expand Down

0 comments on commit 6a7336f

Please sign in to comment.