mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
moment: fixed test again
This commit is contained in:
1 parent
c50db1735b
commit
32797d6a56
1 file changed
+3
-3
@@ -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