Skip to content

Commit

Permalink
chore: cast ConsoleArgs to any[]
Browse files Browse the repository at this point in the history
because just wrapper of `console.log`

Co-authored-by: Sukka <[email protected]>
  • Loading branch information
dimaslanjaka and SukkaW authored May 10, 2023
1 parent 3ccf914 commit 3e1f6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ interface Options {
silent?: boolean
}

type ConsoleArgs = [object | string, ...any[]];
type ConsoleArgs = any[];

type writeLogF = (...args: ConsoleArgs) => void;

Expand Down

0 comments on commit 3e1f6b6

Please sign in to comment.