Skip to content

Commit eb91371

Browse files
committed
chore: fix grammar
1 parent 20d6b85 commit eb91371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/material/datepicker/date-range-input-parts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const _MatDateRangeInputBase:
189189
]
190190
})
191191
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. */
193193
private _startValidator: ValidatorFn = (control: AbstractControl): ValidationErrors | null => {
194194
const start = this._getValidDateOrNull(this._dateAdapter.deserialize(control.value));
195195
const end = this._model ? this._model.selection.end : null;
@@ -252,7 +252,7 @@ export class MatStartDate<D> extends _MatDateRangeInputBase<D> implements CanUpd
252252
]
253253
})
254254
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. */
256256
private _endValidator: ValidatorFn = (control: AbstractControl): ValidationErrors | null => {
257257
const end = this._getValidDateOrNull(this._dateAdapter.deserialize(control.value));
258258
const start = this._model ? this._model.selection.start : null;

0 commit comments

Comments
 (0)