jacobmind / hamburg

A simple web-app to manage your to-do list.
0 stars 0 forks source link

no "!" if not be sure, that it's never undefiend #13

Closed DariosKrimsKrams closed 3 years ago

DariosKrimsKrams commented 3 years ago

If you can not be sure, that a property "day" is set, don't use "!" with day!: string;, but instead use day: string | undefined;

image