Skip to content

Commit

Permalink
fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierZal committed Apr 26, 2024
1 parent 19af948 commit fe8e30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decorators/addToLogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const addToLogs =
const funcName = log.slice(FIRST_CHAR, -PARENTHESES.length)
if (
funcName in this &&
typeof this[funcName as keyof this] !== 'function'
typeof this[funcName as keyof this] === 'function'
) {
const func = this[funcName as keyof this] as (
...funcArgs: unknown[]
Expand Down

0 comments on commit fe8e30e

Please sign in to comment.