UNPKG
@fourlights/mapper
Version:
latest (1.4.0)
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
A simple data mapper written in typescript
github.com/Four-Lights-NL/mapper
Four-Lights-NL/mapper
@fourlights/mapper
/
dist
/
lib
/
utils
/
wrapProperty.d.ts
6 lines
(3 loc)
•
204 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
MapperProperty
,
MapperFn
}
from
'../types.js'
;
declare
function
wrapProperty<T, U
extends
{} = {}>(
property
:
MapperProperty
<T, U> |
MapperFn
<T>):
MapperProperty
<T, U>;
export
{ wrapProperty };