Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
janmonschke committed Sep 26, 2024
1 parent 71f511a commit b74128b
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ const parseOrThrow = parseOrThrowErrorFactory(createToasterPlainError);

const decodeTimelineResponse = (respTimeline?: PersistTimelineResponse | TimelineErrorResponse) =>
parseOrThrow(PersistTimelineResponse)(respTimeline);
// - migrate over all decode functions
// - make that where theyre used, the correct new types are used and none of the legacy types
// - Check what can be done about TimelineErrorResponse
// - check in timeline/api.ts if more types can be removed

const decodeSingleTimelineResponse = (respTimeline?: GetTimelineResponse) =>
parseOrThrow(GetTimelineResponse)(respTimeline);
Expand Down

0 comments on commit b74128b

Please sign in to comment.