mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Merge pull request #2697 from kant2002/fix-moment-humanize
Updated definition for the Duration.humanize
This commit is contained in:
commit
88285f8107
1 file changed
+1
-1
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