mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Merge pull request #2697 from kant2002/fix-moment-humanize
Updated definition for the Duration.humanize
This commit is contained in:
Vendored
+1
-1
@@ -25,7 +25,7 @@ interface MomentInput {
|
||||
|
||||
interface Duration {
|
||||
|
||||
humanize(): string;
|
||||
humanize(withSuffix?: boolean): string;
|
||||
|
||||
milliseconds(): number;
|
||||
asMilliseconds(): number;
|
||||
|
||||
Reference in New Issue
Block a user