Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions exercises/04.globals/01.solution.global-methods/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ To fix this, you need to extend the type of `Console['log']` in your test and ma
import { MockInstance } from 'vitest'

declare namespace console {
var log: Console['log'] &
MockInstance<Parameters<Console['log']>, ReturnType<Console['log']>>
var log: Console['log'] & MockInstance<Console['log']>
}
```

Expand Down