total-typescript/typescript-generics-workshop

vitest vs chai type expect / toEqual

pieterjandebruyne opened this issue · 2 comments

When running npm install, it installs @types/chai. Because of this my IDE (webstorm) is using the chai declaration of expect (which does not have toEqual) instead of vitest types. Do we actually need to install those chai types? deleting them seems to fix the issue.

asking for my curiosity, What's the reason on using Webstorm? ;-)

Yep, don't install those chai types!