UNPKG
4.5
Version:
latest (0.5.0)
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Monadic test assertions
github.com/TylorS/4.5
TylorS/4.5
4.5
/
lib.es2015
/
combinators
/
map.d.ts
7 lines
(6 loc)
•
244 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
Assertion
}
from
'../types'
;
export
declare
const
map
:
MapFn
;
export
interface
MapFn
{ <T, R>(
f
:
(
value
: T
) =>
R,
assertion
:
Assertion
<T>):
Assertion
<R>; <T, R>(
f
:
(
value
: T
) =>
R):
(
assertion
:
Assertion
<T>
) =>
Assertion
<R>; }