repositories
/
e-mobility-charging-stations-simulator.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
refactor(ui): use JSON format as runtime configuration
[e-mobility-charging-stations-simulator.git]
/
ui
/
web
/
src
/
composables
/
Utils.ts
1
export const
compose
= <
T
>(...
fns
: ((
arg
:
T
) =>
T
)[]): ((
x
:
T
) =>
T
) => {
2
return
(
x
:
T
) =>
fns
.
reduceRight
((
y
,
fn
) =>
fn
(
y
),
x
)
3
}