Home > typeioc > ISubstituteInfo > wrapper
Specifies substitute action/behavior (lambda expression executed during substitution call)
Signature:
wrapper: (callInfo: ICallInfo) => any | void;
To execute wrapper in the context of the substitute proxy as opposite to original subject, provide a function instead of a lambda expression. This will give you access to this
within substituted members