From c2a4707139377404b62aabab261aff7706cbf879 Mon Sep 17 00:00:00 2001 From: Jakob Helgesson Date: Thu, 3 Feb 2022 15:00:00 +0100 Subject: [PATCH] Fix GenericLogFunction type (#95) --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 79418f0..884a8f2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 = { [k in A]: string | MethodConfig };