'test' does not exist in type 'UserConfigExport', even with reference types

Viewed 115

As described in this answer and in the docs. I've added the reference types for Vitest at the top of my Vite config file.

/// <reference types="vitest" />

Why am I still getting the TypeScript warning 'test' does not exist in type 'UserConfigExport'?

0 Answers
Related