export class PlayerStore { song?: Song; isPlaying = false; constructor() { makeAutoObservable(this); } playSong(song: Song) { this.song = song; this.isPlaying = true; } pause() { this.isPlaying = false; } }