Skip to content

Consider adding TypeScript types to packages #937

@NotWoods

Description

@NotWoods

TypeScript is used by a significant number of projects and adding TypeScript types would make it easier to know the shape of the returned objects.

Since the JSON files are all validated against a JSON Schema, types can be automatically generated using a tool like json-schema-to-typescript. You'd only need a small amount of manual work to add a type definition for the listAll function.

Happy to open a PR for this :)

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