anza-xyz / anza-xyz/kit

Docs: Transaction type is 'unrolled', making types look much more complex

未關閉
#1,016 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
695
分支
210
平均合併
21 小時 33 分鐘
30 天內合併 PR
90

描述

As an example `signTransactionMessageWithSigners` returns the type `Promise`

`SendableTransaction` is exported: `export type SendableTransaction = FullySignedTransaction & TransactionWithinSizeLimit`

[In our docs](https://www.solanakit.com/api/functions/signTransactionMessageWithSigners#returns) this shows as:

```ts
Promise & TransactionWithLifetime>
```

This looks much more complex, because the `Transaction` type has been unnecessarily unrolled to the fields that it contains. `Transaction` is a core type and makes sense to keep as-is in our documentation.

I'm not sure if this is a Fumadocs bug or something we can configure.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。