Py2Ts

Py2Ts is a Python package that generates TypeScript type definitions from Python type hints.

Features

  • Complex Types Support: Handle complex types such as enums and nested typed dictionaries.

  • Comprehensive Documentation: Access detailed documentation, including a Quickstart Guide and API Reference, to help you get started and understand the library’s capabilities.

Documentation