mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-11 12:00:27 +08:00
Updated definition for the Duration.humanize
See the docs there http://momentjs.com/docs/#/durations/humanize/
This commit is contained in:
1 parent
8eacc4ca14
commit
d5bf84fdb8
1 file changed
+1
-1
Vendored
+1
-1
@@ -28,7 +28,7 @@ interface MomentInput {
|
||||
|
||||
interface Duration {
|
||||
|
||||
humanize(): string;
|
||||
humanize(withSuffix?: boolean): string;
|
||||
|
||||
milliseconds(): number;
|
||||
asMilliseconds(): number;
|
||||
|
||||
Reference in new issue
Block a user