Skip to content

Commit

Permalink
refactor: simplify logic
Browse files Browse the repository at this point in the history
  • Loading branch information
cpvalente committed Sep 7, 2024
1 parent f9a5c55 commit a8182ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/types/src/utils/guards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function isOntimeEvent(event: MaybeEvent): event is OntimeEvent {
}

export function isPlayableEvent(event: OntimeEvent): event is PlayableEvent {
return !event?.skip;
return !event.skip;
}

export function isOntimeDelay(event: MaybeEvent): event is OntimeDelay {
Expand Down

0 comments on commit a8182ca

Please sign in to comment.