Skip to content

Export TypeScript Types #184

@fishcharlie

Description

@fishcharlie

TypeScript types such as Rate, Label, and a LOT more aren't exported in this library. This means you can't reference them in your functions.

A use case for this is I was trying to build a function that takes in an array of Rates, and returns the best one depending on business criteria. But because the Rate type wasn't exported, I had to set my parameter type to any. Which is not a good solution at all.

Please export these types so users can reference them in other functions as parameters and return types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions