Skip to content

Commit ba81d8a

Browse files
authoredMay 3, 2023
fix: support exactOptionalPropertyTypes (#3293)
1 parent 62c14cb commit ba81d8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎packages/vitest/src/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import type { ConfigEnv, UserConfig as ViteUserConfig } from 'vite'
22
import type { ProjectConfig } from './types'
33

44
export interface UserConfig extends ViteUserConfig {
5-
test?: ViteUserConfig['test']
5+
test?: ViteUserConfig['test'] | undefined
66
}
77

88
export interface UserWorkspaceConfig extends ViteUserConfig {
9-
test?: ProjectConfig
9+
test?: ProjectConfig | undefined
1010
}
1111

1212
// will import vitest declare test in module 'vite'

0 commit comments

Comments
 (0)
Please sign in to comment.