type FnStubItem<F>
A single function stub return item.
Definition
type FnStubItem<F extends
Func
> = F
|
{
[StubCommands.RETURNS]: ReturnType<F>;
}
|
{
[StubCommands.THROWS]: any;
}
|
{
[StubCommands.RESOLVES]:
PromiseValue
<ReturnType<F>>;
}
|
{
[StubCommands.REJECTS]: any;
};