Skip to content

Expose TypeScript types #2290

Description

@jaads

Checklist

  • I could not find a solution in the existing issues or docs.
  • I agree to follow this project's Code of Conduct.

Description

Currently it seems that everyone who uses TypeScript and the Hanko API needs to create the type definitions for API responses themself.

That bloats the users code a bit and is more work in the setup process.

Describe your ideal solution

A dedicated types npm package, which exposes all API related types

Workarounds or alternatives

Creating and maintaining the API types myself

Hanko Version

2.1.1

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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