fix signature (#41797)

previous type definition signature was incorrect; reference: https://github.com/tmpfs/format-util/blob/master/format.js
This commit is contained in:
Charlie Arnold
2020-01-23 10:14:46 -08:00
committed by Ben Lichtman
parent 53bb1520e3
commit 7b6a588f0f
+1 -1
View File
@@ -3,6 +3,6 @@
// Definitions by: Adam Zerella <https://github.com/adamzerella>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function format(format: string, str: string): string;
declare function format(message: string, ...optionalParams: any[]): string;
export = format;