Skip to content

Commit 95a9929

Browse files
committed
Fix cast for Pino 9.9.0
1 parent 5c1cb93 commit 95a9929

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const baseLogger = pino(
4141
const censorList = CensorList.getAll()
4242
return method.apply(
4343
this,
44-
inputArgs.map((arg) => censor(arg, censorList)) as [string, ...unknown[]],
44+
inputArgs.map((arg) => censor(arg, censorList)) as Parameters<pino.LogFn>,
4545
)
4646
},
4747
},

0 commit comments

Comments
 (0)