A custom formatter should implement this interface and be registered with EqualMatchingInjectorConfig.
Returns
undefined if the formatter is not intended to format the object of such type, otherwise returns a string.
// A custom matcher that matches Moment and Date objects import { EqualMatchingInjectorConfig, IObjectMatcher, Mock, OBJECT_MATCHERS } from"moq.ts"; import { isMoment, utc } from"moment";
A custom formatter should implement this interface and be registered with EqualMatchingInjectorConfig.
Returns
undefined if the formatter is not intended to format the object of such type, otherwise returns a string.