Make the return type of AccountClient.fetchMultiple consistent#2390
Make the return type of AccountClient.fetchMultiple consistent#2390Henry-E merged 2 commits intosolana-foundation:masterfrom
AccountClient.fetchMultiple consistent#2390Conversation
|
@quellen-sol is attempting to deploy a commit to the coral-xyz Team on Vercel. A member of the Team first needs to authorize it. |
58d67cb to
b11f259
Compare
|
Makes sense to me, fixes an inconsistency between the return types. Unless there was some reason for the difference of return types between Probably will merge soon |
Was curious about this too, so I looked back in the history a bit and saw that when When more typing to Also one thing to note: This resolves #1580 and #1521 can be closed May also resolve #1465 |
|
Thanks very much for looking into that. I can see almost the exact same PR was made here #1521 . |
fetchMultiplecurrently returns(Object | null)[], but it should return the account type similarly tofetchandfetchNullable, which would be(T | null)[]