typemoq
Version:
A simple mocking library for TypeScript
21 lines (17 loc) • 456 B
text/typescript
import { IPropertyInfo, InvocationType } from "./Invocation";
export enum CallType {
UNKNOWN, PROPERTY, FUNCTION
}
export enum ProxyType {
STATIC, DYNAMIC
}
export interface ICallContext {
args: IArguments;
property: IPropertyInfo;
returnValue: any;
invokeBase(): void;
invocationType: InvocationType;
callType: CallType;
proxyType: ProxyType;
isAnUnknownDynamicCallAtExecution: boolean;
}