test: improve clone() test expectation
[e-mobility-charging-stations-simulator.git] / ui / web / src / composables / Utils.ts
CommitLineData
f568f368 1// export const compose = <T>(...fns: ((arg: T) => T)[]): ((x: T) => T) => {
66a7748d
JB
2// return (x: T) => fns.reduceRight((y, fn) => fn(y), x)
3// }