Supporting TypeScript natively on Nashorn

Erko Knoll erko.knoll at
Thu Aug 9 10:01:16 UTC 2018


Great job with Nashorn, I really love it. However, based on the blog post
I would like to ask if there are any plans to natively support TypeScript
in the future.

The reason I'm asking is because I built a product that allows to do
TypeScript scripting for JVM. But currently I'm transpiling TypeScript down
to ES5 so Nashorn would be able to ingest it. For obvious performance gain
reasons it would be really cool if type information could be retained from
TypeScript side.

If you are interested how writing TypeScript currently looks like for JVM,
then you can visit the website: Though it is
built for JIRA that is written in Java, then the same approach could be
applied for any JVM application.

Hoping to hear back,

More information about the nashorn-dev mailing list