#2290·hanko

Expose TypeScript types

Author: jaadsCreated Oct 29, 2025Updated Aug 23, 2026
Labelsenhancement

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