Type of player.current should be MoonlinkTrack
Unless there is some design decision I do not know as to why it is set to
Record<string, any>
2 Replies
This format happens when something that happens in the application, for example, resumes, your application shuts down for some reason, when your application activates again
moonlink will begin a process to organize all the information it had, for example, tracks, players and others, and as part of this it is in the database
It cannot recover the class inheritance, but how to change this format by changing the summary part to modify this information to a MoonlinkTrack
equal-aquaOP•13mo ago
It should at least be able to recover to an interface, unless
MoonlightTrack
has to be a class and holds some internal state/functions. But oh well it is what it is.