mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
humanizeDuration is not in the definition file, so compilation fails.
Removing these since humanizeDuration has been deprecated/removed. See https://github.com/timrwood/moment/pull/572
This commit is contained in:
@@ -126,13 +126,6 @@ moment([2007, 0, 29]).fromNow();
|
||||
moment([2007, 0, 29]).fromNow();
|
||||
moment([2007, 0, 29]).fromNow(true);
|
||||
|
||||
moment.humanizeDuration(1000 * 60);
|
||||
moment.humanizeDuration(1, "seconds");
|
||||
moment.humanizeDuration(60000, true);
|
||||
moment.humanizeDuration(1, "minutes", true);
|
||||
moment.humanizeDuration(-60000, true);
|
||||
moment.humanizeDuration(-1, "minutes", true);
|
||||
|
||||
var a8 = moment([2007, 0, 29]);
|
||||
var b8 = moment([2007, 0, 28]);
|
||||
a8.diff(b8) ;
|
||||
|
||||
Reference in New Issue
Block a user