Skip to content

Commit

Permalink
chore: cast type ConsoleArgs to any[] (#148)
Browse files Browse the repository at this point in the history
* chore(ConsoleArgs): change types

* chore(ConsoleArgs): change types to any

* chore: cast `ConsoleArgs` to `any[]`

because just wrapper of `console.log`

Co-authored-by: Sukka <[email protected]>

---------

Co-authored-by: Sukka <[email protected]>
  • Loading branch information
dimaslanjaka and SukkaW authored May 10, 2023
1 parent 97b563f commit d20a133
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, ...string[]];
type ConsoleArgs = any[];

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

Expand Down

0 comments on commit d20a133

Please sign in to comment.