File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
packages/examples/upgrade/static/ts Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ class TextFormatter {
3939 <button (click)="addHero.emit()">Add Hero</button>` ,
4040} )
4141class Ng2HeroesComponent {
42- // TODO(issue/24571): remove '!'.
4342 @Input ( ) heroes ! : Hero [ ] ;
4443 @Output ( ) addHero = new EventEmitter ( ) ;
4544 @Output ( ) removeHero = new EventEmitter ( ) ;
@@ -78,9 +77,7 @@ class HeroesService {
7877class Ng1HeroComponentWrapper extends UpgradeComponent {
7978 // The names of the input and output properties here must match the names of the
8079 // `<` and `&` bindings in the AngularJS component that is being wrapped
81- // TODO(issue/24571): remove '!'.
8280 @Input ( ) hero ! : Hero ;
83- // TODO(issue/24571): remove '!'.
8481 @Output ( ) onRemove ! : EventEmitter < void > ;
8582
8683 constructor ( elementRef : ElementRef , injector : Injector ) {
Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ class Ng2HeroesComponent {
104104class Ng1HeroComponentWrapper extends UpgradeComponent {
105105 // The names of the input and output properties here must match the names of the
106106 // `<` and `&` bindings in the AngularJS component that is being wrapped.
107- @Input ( ) hero : Hero ;
108- @Output ( ) onRemove : EventEmitter < void > ;
107+ @Input ( ) hero ! : Hero ;
108+ @Output ( ) onRemove ! : EventEmitter < void > ;
109109
110110 constructor ( elementRef : ElementRef , injector : Injector ) {
111111 // We must pass the name of the directive as used by AngularJS to the super.
You can’t perform that action at this time.
0 commit comments