Docs: Transaction type is 'unrolled', making types look much more complex
Aberta
- Linguagem predominante
- TypeScript
- Estrelas
- 695
- Forks
- 210
- Merge médio
- 21h 33min
- PRs com merge (30d)
- 90
Descrição
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.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.