Using Haxe, how can I generate python code with type hints?

47 Views Asked by At

I want to write a cross-platform library with Haxe. But when I compile Haxe to Python, there is no type hint in Python code.

How to let Haxe generate type hints to Python code? This helps users use my library more conveniently.

Although I have placed type hints in the haxe code, my python code after being generated does not have them.

0

There are 0 best solutions below