Skip to content

Commit 1877d32

Browse files
docs: fix no overload matches this call. (#4801)
1 parent ef9a53f commit 1877d32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/config/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,7 @@ import { defineConfig } from 'vitest/config'
19401940

19411941
export default defineConfig({
19421942
test: {
1943-
onConsoleLog(log: string, type: 'stdout' | 'stderr'): boolean | void {
1943+
onConsoleLog(log: string, type: 'stdout' | 'stderr'): false | void {
19441944
if (log === 'message from third party library' && type === 'stdout')
19451945
return false
19461946
},

0 commit comments

Comments
 (0)