Home » Tag Archives:typescript

Tag Archives: typescript

TypeScript: add more data to enum

December 23, 2021 Java Leave a comment

Questions: In TypeScript, is it possible to add more stuff (properties, methods, etc.) to enum constants, like in Java? Java example demonstrating adding of fields, methods and constructor: public enu...

Convert TypeScript to Java

December 21, 2021 Java Leave a comment

Questions: I’ve been writing TypeScript recently, for running in a browser. What I’m finding I want to do is run the same code from within a Java application. I have a complex piece of log...