Skip to content

Commit

Permalink
fix(vitest): loosen onConsoleLog return type
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Mar 5, 2024
1 parent c3eb8de commit 131690f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ export interface InlineConfig {
*
* Return `false` to ignore the log.
*/
onConsoleLog?: (log: string, type: 'stdout' | 'stderr') => false | void
onConsoleLog?: (log: string, type: 'stdout' | 'stderr') => boolean | void

/**
* Enable stack trace filtering. If absent, all stack trace frames
Expand Down

0 comments on commit 131690f

Please sign in to comment.