UNPKG
typemoq
Version:
latest (2.1.0)
2.1.0
2.0.1
2.0.0
1.8.0
1.7.0
1.6.0
1.5.0
1.4.2
1.4.1
1.4.0
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.3.3
0.3.2
0.3.1
0.2.0
0.1.1
0.1.0
0.0.6
0.0.5
0.0.4
A simple mocking library for TypeScript
github.com/florinn/typemoq
florinn/typemoq
typemoq
/
src
/
Api
/
ICallback.ts
7 lines
(6 loc)
•
277 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
*
as
common
from
"../Common/_all"
;
import
{
IReturnsThrows
}
from
"./IReturns"
;
export
interface
ICallback
<T,
TResult
> {
callback
(
action
: common.
IAction
):
IReturnsThrows
<T,
TResult
>;
callback
(
action
: common.
IAction1
<T>):
IReturnsThrows
<T,
TResult
>; }