diff --git a/components/time-picker/nz-time-picker.component.ts b/components/time-picker/nz-time-picker.component.ts index 46e558cffe9..5d5c1d5e9ab 100644 --- a/components/time-picker/nz-time-picker.component.ts +++ b/components/time-picker/nz-time-picker.component.ts @@ -29,7 +29,6 @@ import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { isNotNil, slideMotion, - toBoolean, InputBoolean, NzConfigService, NzUpdateHostClassService as UpdateCls, @@ -47,7 +46,6 @@ import { }) export class NzTimePickerComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnChanges { private _value: Date | null = null; - private _autoFocus = false; private _onChange: (value: Date | null) => void; private _onTouched: () => void; isInit = false;