In correct type for first param in getViteConfig()
#12791
Labels
needs repro
Issue needs a reproduction
getViteConfig()
#12791
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Could you guy confirm if the document and example is incomplete because when I try to add
test
property into the object of the first param ofgetViteConfig()
function, I received error from vscode:Here is the message:
Workspace dependencies:
And I copied from the example file so this may not be a bug but more of request document improvement: https://github.com/withastro/astro/blob/latest/examples/with-vitest/vitest.config.ts
What's the expected result?
According to the document and example, it should accept
test
property, not firing an error.Link to Minimal Reproducible Example
https://github.com/withastro/astro/blob/latest/examples/with-vitest/vitest.config.ts
Participation
The text was updated successfully, but these errors were encountered: