4,500
edits
mNo edit summary |
add TypeScript advantages using TypeScript |
||
Line 301: | Line 301: | ||
} | } | ||
} | } | ||
</syntaxhighlight> | |||
Advantages of TypeScript over ES5: | |||
* types | |||
* classes | |||
* annotations | |||
* imports | |||
* language utilities (e.g. destructuring) | |||
<syntaxhighlight lang="javascript"> | |||
</syntaxhighlight> | </syntaxhighlight> |