NPX Führen Sie die TS -Datei aus

npx ts-node src/foo.ts
Silly Shrike