TypeScript is a superset of JavaScript that adds static typing to JavaScript code. It extends JavaScript with additional functionality and can be transpiled to plain JavaScript code. TypeScript has a structural type system, which allows types to be determined by their shape. However, nominal typing can be achieved in TypeScript using symbols.
Table of contents
TypeScript is a superset of JavaScriptTypeScript isn't a real languageDuck TypingNominal Typing in TypeScript1 Comment
Sort: