activated typescript strict mode
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="list-item">
|
||||
<div class="list-item" *ngIf="show">
|
||||
<div>{{ show.date.toDate() | date: "dd.MM.yyyy" }}</div>
|
||||
<div>{{ show.showType | showType }}</div>
|
||||
</div>
|
||||
|
||||
@@ -7,5 +7,5 @@ import {Show} from '../../services/show';
|
||||
styleUrls: ['./list-item.component.less'],
|
||||
})
|
||||
export class ListItemComponent {
|
||||
@Input() public show: Show;
|
||||
@Input() public show: Show | null = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user