Skip to content

Commit

Permalink
fix: support exactOptionalPropertyTypes (#3293)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va authored May 3, 2023
1 parent 62c14cb commit ba81d8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vitest/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import type { ConfigEnv, UserConfig as ViteUserConfig } from 'vite'
import type { ProjectConfig } from './types'

export interface UserConfig extends ViteUserConfig {
test?: ViteUserConfig['test']
test?: ViteUserConfig['test'] | undefined
}

export interface UserWorkspaceConfig extends ViteUserConfig {
test?: ProjectConfig
test?: ProjectConfig | undefined
}

// will import vitest declare test in module 'vite'
Expand Down

0 comments on commit ba81d8a

Please sign in to comment.