Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
fix: revert type change to defineVitestConfig (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanalphen authored Mar 9, 2023
1 parent aea647c commit 43c0f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt-vitest/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export async function getVitestConfigFromNuxt(
}
}

export function defineVitestConfig(config: VitestConfig = {}) {
export function defineVitestConfig(config: InlineConfig = {}) {
return defineConfig(async () => {
// When Nuxt module calls `startVitest`, we don't need to call `getVitestConfigFromNuxt` again
if (process.env.__NUXT_VITEST_RESOLVED__) return config
Expand Down

0 comments on commit 43c0f36

Please sign in to comment.