I want to export multiple functions as aliases in ES6.
I exported it like this because I want to use export default but "as" doesn't seem to work.
const fn1 = () => {};
const fn2 = () => {};
export default = {
fn1 as function1,
fn2 as function2,
} // -> not working
How can I do what I want?