TypeScript

Typed superset of JavaScript for large-scale applications

Overview

TypeScript adds static typing to JavaScript, making it easier to build and maintain large applications. With run, you can execute TypeScript code using ts-node or Deno.

Language Aliases

Supported Aliases
run typescript "console.log('Hello')"
run ts "console.log('Hello')"
run ts-node "console.log('Hello')"
run deno "console.log('Hello')"
Output
Hello
Hello
Hello
Hello

REPL Behavior

TypeScript's REPL is STATEFUL when using ts-node.