anza-xyz / anza-xyz/kit

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

Aberta
#1,016 0 comentários 0 reações 0 responsáveis Ver no GitHub
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

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.