Skip to content

Commit edf9d2d

Browse files
committed
Format to respect tslint rules
1 parent b9ab291 commit edf9d2d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/material/core/datetime/native-date-adapter.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,12 @@ export class NativeDateAdapter extends DateAdapter<Date> {
191191
}
192192
}
193193

194-
if (year !== null && month !== null && day !== null && this._dateComponentsAreValid(year, month, day)) {
194+
if (
195+
year !== null &&
196+
month !== null &&
197+
day !== null &&
198+
this._dateComponentsAreValid(year, month, day)
199+
) {
195200
return this.createDate(year, month, day);
196201
}
197202

0 commit comments

Comments
 (0)