Skip to content

Commit

Permalink
Fix GenericLogFunction type (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
svemat01 authored Feb 3, 2022
1 parent 463eb74 commit c2a4707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export type MethodConfig = SharedConfig & {
tags?: string[];
};

export type GenericLogFunction = (input: string) => any;
export type GenericLogFunction = (...input: unknown[]) => any;

export type MethodList<A extends string> = { [k in A]: string | MethodConfig };

Expand Down

0 comments on commit c2a4707

Please sign in to comment.