UNPKG
ts-constrain-type
Version:
latest (1.0.0)
1.0.0
A generic constrained identity function
github.com/KamenKolev/ts-constrain-type
ts-constrain-type
/
dist
/
index.js
6 lines
(5 loc)
•
174 B
JavaScript
View Raw
1
2
3
4
5
6
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
constrain
=
void
0
;
const
constrain
= (
) =>
(
arg
) =>
arg;
exports
.
constrain
= constrain;