You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sandersn
changed the title
new readonly modifiers on Promise.all breaks lyricist in DT
new readonly modifiers on Promise.all break lyricist in DT
Sep 23, 2019
I fixed the error in lyricist for now by adding as const after the array argument to all. Once this issue is fixed, we should try removing that to make sure that it works as before.
Broken by #33057
Expected behavior:
No error, and
results[5]: SongByArtist[]
Actual behavior:
Error, and
results[5]: SearchResult[]
The two types are VERY similar, although I'm not sure that's relevant. My guess is that it's a very subtle inference problem.
The text was updated successfully, but these errors were encountered: