mockserver-client-node
mockserver-client-node copied to clipboard
fix: fix clearById method signature #158
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).