@@ -86,7 +86,7 @@ export class MatTimepickerInput<D> implements ControlValueAccessor, Validator, O
86
86
private _dateFormats = inject ( MAT_DATE_FORMATS , { optional : true } ) ! ;
87
87
private _formField = inject ( MAT_FORM_FIELD , { optional : true } ) ;
88
88
89
- private _onChange : ( ( value : any ) => void ) | undefined ;
89
+ private _onChange : ( ( value : unknown ) => void ) | undefined ;
90
90
private _onTouched : ( ( ) => void ) | undefined ;
91
91
private _validatorOnChange : ( ( ) => void ) | undefined ;
92
92
private _cleanupClick : ( ) => void ;
@@ -183,7 +183,7 @@ export class MatTimepickerInput<D> implements ControlValueAccessor, Validator, O
183
183
* Implemented as a part of `ControlValueAccessor`.
184
184
* @docs -private
185
185
*/
186
- writeValue ( value : any ) : void {
186
+ writeValue ( value : unknown ) : void {
187
187
// Note that we need to deserialize here, rather than depend on the value change effect,
188
188
// because `getValidDateOrNull` will clobber the value if it's parseable, but not created by
189
189
// the current adapter (see #30140).
@@ -195,7 +195,7 @@ export class MatTimepickerInput<D> implements ControlValueAccessor, Validator, O
195
195
* Implemented as a part of `ControlValueAccessor`.
196
196
* @docs -private
197
197
*/
198
- registerOnChange ( fn : ( value : any ) => void ) : void {
198
+ registerOnChange ( fn : ( value : unknown ) => void ) : void {
199
199
this . _onChange = fn ;
200
200
}
201
201
0 commit comments