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
The assertAccountsDecoded of @solana/addresses has a type parameter TAddress. This param is not plural, which implies that although assertAccountsDecoded operates over an array of addresses, the type parameter would enforce that every account has the same address.
Both TAddress and TData should probably be plural, and the return type should map over them to convert from something like Account<Uint8Array | TData[P], TAddress[P]> to Account<TData[P], TAddress[P]>
The text was updated successfully, but these errors were encountered:
The
assertAccountsDecoded
of@solana/addresses
has a type parameterTAddress
. This param is not plural, which implies that althoughassertAccountsDecoded
operates over an array of addresses, the type parameter would enforce that every account has the same address.Both
TAddress
andTData
should probably be plural, and the return type should map over them to convert from something likeAccount<Uint8Array | TData[P], TAddress[P]>
toAccount<TData[P], TAddress[P]>
The text was updated successfully, but these errors were encountered: