@Component({
selector: 'my-app',
template: `
<ul>
<li *ngFor="#item of items">{{item.name}}</li>
</ul>
`
})
设置在 tsconfig.json
{
"compilerOptions":
{
"emitDecoratorMetadata": true
}
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句