anza-xyz / anza-xyz/kit

`TAddress` on `assertAccountsDecoded` must be plural

オープン
#49 コメント 1 件 リアクション 0 件 担当者 1 名 @lorisleiva が担当を希望しています GitHub で見る
bug do-not-close
主要言語
TypeScript
スター
695
フォーク
210
平均マージ
21時間 33分
マージ済み PR(30日)
90

説明

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` to `Account`

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。