Skip to content

Commit 8597cac

Browse files
committed
Format to respect tslint rules
1 parent 04430aa commit 8597cac

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
@@ -221,7 +221,12 @@ export class NativeDateAdapter extends DateAdapter<Date> {
221221
}
222222
}
223223

224-
if (year !== null && month !== null && day !== null && this._dateComponentsAreValid(year, month, day)) {
224+
if (
225+
year !== null &&
226+
month !== null &&
227+
day !== null &&
228+
this._dateComponentsAreValid(year, month, day)
229+
) {
225230
return this.createDate(year, month, day);
226231
}
227232

0 commit comments

Comments
 (0)