Angular 2: Difference between revisions

Jump to navigation Jump to search
add TypeScript advantages using TypeScript
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>

Navigation menu