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;