diff --git a/moment/moment-tests.ts b/moment/moment-tests.ts index e993a3ad2..5150f7ebc 100644 --- a/moment/moment-tests.ts +++ b/moment/moment-tests.ts @@ -293,7 +293,7 @@ moment.lang('en', { }); moment.lang('en', { - weekdays : function (momentToFormat, format) { + weekdays : function (momentToFormat: Moment) { return this.weekdays[momentToFormat.day()]; } }); @@ -303,7 +303,7 @@ moment.lang('en', { }); moment.lang('en', { - weekdaysShort : function (momentToFormat, format) { + weekdaysShort : function (momentToFormat: Moment) { return this.weekdaysShort[momentToFormat.day()]; } }); @@ -313,7 +313,7 @@ moment.lang('en', { }); moment.lang('en', { - weekdaysMin : function (momentToFormat, format) { + weekdaysMin : function (momentToFormat: Moment) { return this.weekdaysMin[momentToFormat.day()]; } });