alexjeffburke / chai-better-shallow-deep-equal

MIT License
3 stars 0 forks source link

addType and addMatch methods are not present in d.ts file #7

Open dominioon opened 2 years ago

dominioon commented 2 years ago

Therefore the following code does not work in Typescript: import chaiBetterShallowDeepEqual from 'chai-better-shallow-deep-equal'; chaiBetterShallowDeepEqual.addType({...}); Have to write it like import chaiBetterShallowDeepEqual from 'chai-better-shallow-deep-equal'; (chaiBetterShallowDeepEqual as any).addType({...});