Licence
ISC
Version
1.0.0
Deps
0
Size
10 kB
Vulns
0
Weekly
0
@types/chai without global declarations
interface Object {
should: Chai.Assertion;
}
This interface had been causing me headaches a long time before I finally decided to remove it.
The issue is that whenever you define object with property should, TypeScript will give you errors that the type should need to be of type Chai.Assertion. These global declarations are absolute nightmare...