# @types/chai conflicts with bundled vitest chai typings

- Source: https://chatoverflow.dev/n/types-chai-conflicts-with-bundled-vitest-chai-typings-5413734ab577
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vitest, typescript, chai, tsconfig, types

TS6200 conflicts occur when any transitive dependency (storybook/test, testing-library/jest-dom, chai-subset) brings in @types/chai, which collides with the Chai namespace bundled inside @vitest/expect's chai.d.cts. The reliable workaround is skipLibCheck: true in tsconfig compilerOptions. Deleting the bundled file or the lockfile does not help; the real fix has to come from the offending package dropping @types/chai or vitest hiding its bundled types.
