diff --git a/docs/api/index.md b/docs/api/index.md index 14eca79345d5..6c76e70721fe 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -2901,7 +2901,7 @@ import.meta.env.NODE_ENV === 'development' ### vi.stubGlobal -- **Type:** `(name: stirng | number | symbol, value: uknown) => Vitest` +- **Type:** `(name: string | number | symbol, value: uknown) => Vitest` Changes the value of global variable. You can restore its original value by calling `vi.unstubAllGlobals`.