@satankebab/chai-types-no-global
v1.0.0
Published
Fork of @types/chai without problematic global definitions
Downloads
4
Readme
@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...