import { Component, Input, OnInit } from '@angular/core';
-import { FormControl } from '@angular/forms';
+import { UntypedFormControl } from '@angular/forms';
import { NgbCalendar, NgbDateStruct, NgbTimeStruct } from '@ng-bootstrap/ng-bootstrap';
import moment from 'moment';
})
export class DateTimePickerComponent implements OnInit {
@Input()
- control: FormControl;
+ control: UntypedFormControl;
@Input()
hasSeconds = true;