From 5db5b84dc75e4bd23308d2eb3bc455b80a55d24f Mon Sep 17 00:00:00 2001 From: Federico Alecci Date: Sat, 18 Oct 2025 02:18:24 -0300 Subject: [PATCH] Updates MockInstance signature --- exercises/04.globals/01.solution.global-methods/README.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exercises/04.globals/01.solution.global-methods/README.mdx b/exercises/04.globals/01.solution.global-methods/README.mdx index 1994ebf..bdacdf6 100644 --- a/exercises/04.globals/01.solution.global-methods/README.mdx +++ b/exercises/04.globals/01.solution.global-methods/README.mdx @@ -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, ReturnType> + var log: Console['log'] & MockInstance } ```