Concept Flow - What survives compilation to JavaScript
Write TypeScript code
Run TypeScript compiler
Compiler removes types and interfaces
Compiler converts modern syntax to JS
Output JavaScript code
Run JS in browser or Node.js
TypeScript code is compiled by removing types and interfaces, then converted to JavaScript syntax that runs in browsers or Node.js.