Hi @unional, thanks for the issue!
As you can see here, .equals is just another alias for .equal. You could also use .eq and it would refer to the same assertion.
I see. I'm porting the chai typings from DefinitelyTyped to typed-typings/npm-chai.
Seems like some them were not typed correctly.
@unional that's the one problem with TypeScript: the type files are not at all checked on correctness unfortunately.
What do you mean?
@unional if you'd like, you could send a PR to chai core and we'll add ts definitions to the main package! I'm personally happy to maintain ts defs for chai.
That would be excellent.
Hi @unional, thank you very much for your issue!
We're very happy to have your input on Chai and we'll definitely be adopting TypeScript in the future, but as a first class citizen this time, supporting it right out-of-the-box.
You can read more about this decision in this link.
We look forward to seeing you contributing again for Chai v5! 馃槃
For now, I'll close this so that we can have a clean slate to work on.
Most helpful comment
@unional if you'd like, you could send a PR to chai core and we'll add ts definitions to the main package! I'm personally happy to maintain ts defs for chai.