mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +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:
1 parent
4c5cf3c4b0
commit
dfb53f86ec
1 file changed
-7
@@ -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