mockserver-client-node icon indicating copy to clipboard operation
mockserver-client-node copied to clipboard

fix: fix clearById method signature #158

Open botflux opened this issue 1 year ago • 0 comments

Hey,

I have the same problem as the author of #158 . I've decided to fix the method signature in the type declaration and not touch the JS implementation for backward compatibility reasons.

This decision was the most logical from my point of view, please tell me if I'm wrong, and I can change the PR.

Note: The signature of clearById will be inconsistent with the signature of verifyById if clearById only accepts a string. The signature of verifyById: verifyById (ExpectationId, number, number).

botflux avatar May 28 '24 14:05 botflux