UNPKG
@3fv/guard
Version:
1.0.11 (1.0.11)
1.0.12 (1.0.12)
1.0.13 (1.0.13)
1.0.15 (1.0.15)
1.0.16 (1.0.16)
1.0.18 (1.0.18)
1.2.0 (1.2.0)
1.3.0 (1.3.0)
1.4.0 (1.4.0)
1.4.2@latest (1.4.2)
latest (1.4.39)
1.4.39
1.4.38
1.4.37
1.4.35
1.4.32
1.4.30
1.4.29
1.4.28
1.4.26
1.4.25
1.4.24
1.4.23
1.4.20
1.4.18
1.4.17
1.4.16
1.4.15
1.4.14
1.4.13
1.4.8
1.4.7
1.4.6
1.4.5
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.0.18
1.0.16
1.0.15
1.0.13
1.0.12
1.0.11
1.0.8
TypeScript guard suite
github.com/3fv/guard
3fv/guard
@3fv/guard
/
lib
/
cjs
/
applyTypeGuardExtras.js
8 lines
•
265 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
applyTypeGuardExtras
= applyTypeGuardExtras;
function
applyTypeGuardExtras
(
fn
) { fn.
lift
=
(
o
) =>
() =>
fn
(o);
return
fn; }
//# sourceMappingURL=applyTypeGuardExtras.js.map