UNPKG

react-native-track-player

Version:
9 lines (8 loc) 224 B
import { State } from '../constants'; import type { PlaybackErrorEvent } from './events'; export type PlaybackState = { state: Exclude<State, State.Error>; } | { state: State.Error; error: PlaybackErrorEvent; };