mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
moment: fixed test again
This commit is contained in:
@@ -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()];
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user