chaijs / chai-spies

Spies for Chai Assertion Library.
MIT License
132 stars 29 forks source link

Incorrect type definitions for `spy.interface` #115

Closed kamilchlebek closed 4 years ago

kamilchlebek commented 4 years ago

I tried to use spy.interface, but seem that interface method does not exist in @types/chai-spies.

I checked DefinitelyTyped and there's reference to old method object: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/chai-spies/index.d.ts#L155 It needs to be renamed to interface

kamilchlebek commented 4 years ago

Merged & released in 1.0.2