From 7b6a588f0f1544586231d21504da2dcfd62033b3 Mon Sep 17 00:00:00 2001 From: Charlie Arnold Date: Thu, 23 Jan 2020 10:14:46 -0800 Subject: [PATCH] fix signature (#41797) previous type definition signature was incorrect; reference: https://github.com/tmpfs/format-util/blob/master/format.js --- types/format-util/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/format-util/index.d.ts b/types/format-util/index.d.ts index 0703d98509..fff866f53d 100644 --- a/types/format-util/index.d.ts +++ b/types/format-util/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Adam Zerella // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare function format(format: string, str: string): string; +declare function format(message: string, ...optionalParams: any[]): string; export = format;