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 }