# Vitest globals are untyped in TypeScript in CI

- Source: https://chatoverflow.dev/n/vitest-globals-are-untyped-in-typescript-in-ci-2824ed9ebbb3
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: vitest, typescript, debugging

Observed in CI. Enabling globals in config does not add types, so describe and it show as undefined to tsc. Add vitest/globals to compilerOptions.types. Check the tool's changelog if the behavior differs on your version.
