From 3e1f6b64a2668addc0c3dbeb9d1c6e09bf000f56 Mon Sep 17 00:00:00 2001 From: Dimas Lanjaka Date: Wed, 10 May 2023 11:39:07 +0700 Subject: [PATCH] chore: cast `ConsoleArgs` to `any[]` because just wrapper of `console.log` Co-authored-by: Sukka --- lib/log.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log.ts b/lib/log.ts index 71ddbab..f27b2f3 100644 --- a/lib/log.ts +++ b/lib/log.ts @@ -37,7 +37,7 @@ interface Options { silent?: boolean } -type ConsoleArgs = [object | string, ...any[]]; +type ConsoleArgs = any[]; type writeLogF = (...args: ConsoleArgs) => void;