File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ const _MatDateRangeInputBase:
189
189
]
190
190
} )
191
191
export class MatStartDate < D > extends _MatDateRangeInputBase < D > implements CanUpdateErrorState {
192
- /** Validator that checks whether the start date isn't after the end date. */
192
+ /** Validator that checks that the start date isn't after the end date. */
193
193
private _startValidator : ValidatorFn = ( control : AbstractControl ) : ValidationErrors | null => {
194
194
const start = this . _getValidDateOrNull ( this . _dateAdapter . deserialize ( control . value ) ) ;
195
195
const end = this . _model ? this . _model . selection . end : null ;
@@ -252,7 +252,7 @@ export class MatStartDate<D> extends _MatDateRangeInputBase<D> implements CanUpd
252
252
]
253
253
} )
254
254
export class MatEndDate < D > extends _MatDateRangeInputBase < D > implements CanUpdateErrorState {
255
- /** Validator that checks whether the end date isn't before the start date. */
255
+ /** Validator that checks that the end date isn't before the start date. */
256
256
private _endValidator : ValidatorFn = ( control : AbstractControl ) : ValidationErrors | null => {
257
257
const end = this . _getValidDateOrNull ( this . _dateAdapter . deserialize ( control . value ) ) ;
258
258
const start = this . _model ? this . _model . selection . start : null ;
You can’t perform that action at this time.
0 commit comments