You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Broken Types: Argument of type 'UserProjectConfigExport' is not assignable to parameter of type 'UserWorkspaceConfig | Promise<UserWorkspaceConfig>'
#3759
Closed
6 tasks done
jviall opened this issue
Jul 11, 2023
· 5 comments
I've been using a workspace setup, following the docs to create a workspace at the root, and a shared base config that my individual projects can import and merge with any overrides. However, since upgrading my vitest/vite versions, the types are broken.
Argument of type 'UserProjectConfigExport' is not assignable to parameter of type 'UserWorkspaceConfig | Promise<UserWorkspaceConfig>'
Describe the bug
I've been using a workspace setup, following the docs to create a workspace at the root, and a shared base config that my individual projects can import and merge with any overrides. However, since upgrading my
vitest
/vite
versions, the types are broken.Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-uk4kgh?file=vite.config.ts
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: