Hacker News new | ask | show | jobs
by markelliot 4167 days ago
What tool do you use to emit the typescript interfaces? I looked around for one of these a few months ago but didn't find anything at the time.
2 comments

It's custom made. We are extracting it from our current project, anyway, so I'll ask the dev responsible if he would release it as open source project.
You can cheat by using Java reflection on the POJO, then it is just a "relatively" simple matter of printing strings.