UNPKG
@typed/io
Version:
latest (1.2.0)
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
Runtime IO type system
@typed/io
/
cjs
/
guard
/
refinement.d.ts
4 lines
•
225 B
TypeScript
View Raw
1
2
3
4
import
{
Refinement
}
from
'@typed/lambda'
;
import
{
Guard
}
from
'./Guard'
;
export
declare
function
refinement<A, B
extends
A>(
from
:
Guard
<A>,
refinement
:
Refinement
<A, B>):
Guard
<B>;
//# sourceMappingURL=refinement.d.ts.map