assert-diff icon indicating copy to clipboard operation
assert-diff copied to clipboard

Type Definition File

Open chrisalexander55 opened this issue 6 years ago • 2 comments

Curious if there is a type definition file for this package? Thank you.

chrisalexander55 avatar Jan 30 '19 03:01 chrisalexander55

I guess this has to do with TypeScript? I haven't used it so I don't have one, but one would be welcome as a contribution.

pihvi avatar Feb 02 '19 16:02 pihvi

The types are identical to https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/deep-equal/index.d.ts but there's a difference! - you need to make the 3rd argument a optional string. Plus DeepEqualOptions can go

zm-cttae avatar Jan 16 '23 19:01 zm-cttae