Switched on the @typescript-eslint/no-non-null-assertion rule in eslint.
Fixed the errors it threw up.
This commit is contained in:
@@ -37,7 +37,7 @@ export class EntriesComponent implements OnInit {
|
||||
];
|
||||
|
||||
posted: boolean | null = null;
|
||||
issue: boolean = false;
|
||||
issue = false;
|
||||
constructor(private route: ActivatedRoute, private router: Router) {
|
||||
this.form = new FormGroup({
|
||||
startDate: new FormControl(new Date(), { nonNullable: true }),
|
||||
|
||||
Reference in New Issue
Block a user