Running TypeScript in a REPL with tsx

How to run TypeScript in a REPL