A superset of JavaScript from Microsoft that validates data types. Introduced in 2012, TypeScript flags errors while compiling into regular JavaScript for both client and server side processing. The Babel compiler also converts TypeScript (see
Babel). See
JavaScript.
Catch the Error
In regular JavaScript, the addPrices(3, 4, 6) line would not be flagged as an error. (Image courtesy of Microsoft.)