From 274af7e276cf591e46069d7bb51d05c3d3f5e81f Mon Sep 17 00:00:00 2001 From: Axel Nyffenegger Date: Mon, 21 Sep 2020 15:08:29 +0200 Subject: [PATCH] Make withSuffix arg optional in humanize --- types/plugin/duration.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/plugin/duration.d.ts b/types/plugin/duration.d.ts index edc51b6c9..fceb19066 100644 --- a/types/plugin/duration.d.ts +++ b/types/plugin/duration.d.ts @@ -11,7 +11,7 @@ export declare class Duration { clone(): Duration - humanize(withSuffix: boolean): string + humanize(withSuffix?: boolean): string milliseconds(): number asMilliseconds(): number