Re:Node.js adds experimental support for TypeScript
by sgammon on Friday July 26, 2024 @03:29PM
(#41081506)
> TypeScript is a direct superset of JavaScript. Any valid JS is a valid TypeScript.
Kotlin on JVM is a direct superset of Java on JVM. Any valid Java is also valid Kotlin at the bytecode layer.
> If Kotlin is what TS to JS, then so is Groovy, Scala, Clojure and other JVM languages.
Correct
TypeScript is a direct superset of JavaScript. Any valid JS is a valid TypeScript.
If Kotlin is what TS to JS, then so is Groovy, Scala, Clojure and other JVM languages.