Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 308 Bytes

File metadata and controls

23 lines (18 loc) · 308 Bytes

Anleitung

1. Installiere TypeScript Global

npm install -g typescript

2. Kompiliere TypeScript-Datei

tsc example.ts

3. Code ausführen

node example.js

Schnelle Variante ohne Zwischen-Kompilierung

npm install -g ts-node
ts-node example.ts