make props a always defined property

This commit is contained in:
Géry Debongnie
2019-01-29 20:49:51 +01:00
parent 0b3dc0301e
commit bc6bf5354f
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -19,6 +19,6 @@ export class Notification extends Widget<Env, INotification> {
template = template;
close() {
this.env.notifications.close(this.props!.id);
this.env.notifications.close(this.props.id);
}
}