Chai: dup or difference? deep.equal() and deep.equals()

Created on 27 Mar 2016  路  7Comments  路  Source: chaijs/chai

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.

All 7 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

corybill picture corybill  路  4Comments

basherr picture basherr  路  4Comments

AnAppAMonth picture AnAppAMonth  路  3Comments

kharandziuk picture kharandziuk  路  4Comments

leifhanack picture leifhanack  路  4Comments