Open eedeebee opened 1 month ago
The docs say Track or Track[] but Typescript says it wants a number[].
Track
Track[]
number[]
The way our app works, I'd prefer either Track[] or an array of track IDs instead of indexes.
This is in 4.0 but could be in 4.1 as well.
number[] is correct. doc is probably high/unmaintained for a while. Any Track[] implementation requires u to do TP.getQueue and find indices manually. u might as well DIY.
The docs say
Track
orTrack[]
but Typescript says it wants anumber[]
.The way our app works, I'd prefer either Track[] or an array of track IDs instead of indexes.
This is in 4.0 but could be in 4.1 as well.