chaijs / chai

BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
https://chaijs.github.io
MIT License
8.15k stars 698 forks source link

without "@types/chai" my IDE didn't recognize some attributes #1613

Open boly38 opened 6 months ago

boly38 commented 6 months ago

hi,

for this line expect(myBoolean).to.be.true; My IDE triggers two warnings:

I had asked a question on stackoverflow on how to fix and the fix was simply to add chai type : npm install --save-dev @types/chai

Is it possible to add a notice about this requirement or helper in chai (nodejs) install doc ?

Thanks for this amazing library 👍