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
/
map.d.ts
6 lines
(3 loc)
•
196 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
MapperConfig
,
MapperOptions
}
from
'./types.js'
;
declare
function
map<T>(
data
: T,
config
:
MapperConfig
<T>,
options
?:
MapperOptions
):
Record
<keyof
MapperConfig
<T>,
any
>;
export
{ map };