Skip to content

Commit 8ba1082

Browse files
committed
fix(utils-bug): typescript error
1 parent 1641d40 commit 8ba1082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
export const isString = (obj: any): obj is string => typeof obj === 'string'
1111

1212
// formats a string with arguments into a human readable format
13-
export const formatter = (format: string, args: any[]) => util.format(format, ...args)
13+
export const formatter = (format: Message, args: any[]) => util.format(format, ...args)
1414

1515
// formats anything into a readable format
1616
export const inspect = (object: any) =>

0 commit comments

Comments
 (0)