Code QuizBeginner

TypeScript vs JavaScript Compilation

Understand why runtimes cannot execute TypeScript syntax directly.

Codetypescript
// file: app.ts
let total: number = 10;
console.log(total);
// then you try: browser or plain runtime loads app.ts directly

What is the bug in this workflow?