elsassph / hxtsdgen

TypeScript declaration file generator for Haxe JavaScript output target
65 stars 12 forks source link

Add option to generate interfaces for typedefs #15

Open elsassph opened 5 years ago

elsassph commented 5 years ago

Typedefs of Anonyous Structures currently are generated as TypeScript type, which strictly matches Haxe case. However in practice we could optionally generate interfaces instead, which would provide slightly nicer compiler errors in some cases.