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
importtype{PartialDeep}from'type-fest'importtype{TrackEntity}from'@app/api/types'exportconsttrackExample: PartialDeep<TrackEntity>={name: 'In Search for New Wisdom',href: 'https://open.spotify.com/track/0QBcteLxmPLG4gAXc1pEqW',album: {images: [{height: 300,width: 300,url: 'https://i.scdn.co/image/ab67616d00001e02c84f17fc34c60240d9676c2f',},],},artists: [{id: 'dec548ab-365f-4fe1-a2b9-c0ea52c9ff89',name: 'Eldamar',},],}
Type '{ id: string; name: string; }' is missing the following properties from type 'ArtistEntity': popularity, externalId, followers, genres, and 2 more.
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
The funding will be given to active contributors.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
By default, this does not affect elements in array and tuple types. You can change this by passing `{recurseIntoArrays: true}` as the second type argument:
Upvote & Fund
The text was updated successfully, but these errors were encountered: