UNPKG
@tunnel-cast/tunnel-cast
Version:
beta (0.0.1)
latest (0.0.1)
0.0.1
<br>
@tunnel-cast/tunnel-cast
/
core
/
cast
/
cast-or-reject.d.ts
3 lines
(2 loc)
•
207 B
TypeScript
View Raw
1
2
3
import
{
CastResult
}
from
"../../models/interfaces/cast-result"
;
export
declare
function
castOrReject<T =
any
>(
model
:
new
(...
args
:
any
[]) => T,
target
:
any
,
options
?:
any
):
CastResult
<T>[
"resolvedValue"
];