2018-01-09 15:36:42 +01:00

5 lines
84 B
JavaScript

function test(fn) {
return async (...args) => {
return fn(...args);
};
}