Skip to content

better user-facing types #142

Open
Open
@joe-p

Description

@joe-p

Currently the types on the generated client methods are not very helpful because there are various layers of TypeScript magic going on. The types presented to the user should be very clear in terms of what the expected inputs (or outputs) of a function are.

image

The easiest way is to probably use even more TypeScript magic to expand the types at the highest level. Something like this PR for the SDK: algorand/js-algorand-sdk#528

Eventually it might be worthwhile to have the types just be defined as explicit, even if there is some repetition in the generated code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions