Angular 2: Difference between revisions

Jump to navigation Jump to search
add a typescript block
iwu
 
add a typescript block
Line 16: Line 16:
</syntaxhighlight>
</syntaxhighlight>


TypeScript app.ts. import {bootstrap}, and {bootstrap} is called ''destructing''.
TypeScript app.ts. import {bootstrap}, and {bootstrap} is called ''destructuring''.


<syntaxhighlight lang="typescript">
<syntaxhighlight lang="typescript">

Navigation menu