type ObjStub<T>
A stub implementation type for objects of type T.
Definition
type ObjStub<T> = {
[K in keyof T]?: T[K] extends
Func
?
Spy.FnStub
<T[K]> : T[K];
};
type ObjStub<T>
A stub implementation type for objects of type T.
type ObjStub<T> = {
[K in keyof T]?: T[K] extends
Func
?
Spy.FnStub
<T[K]> : T[K];
};