I am working on a module where I have to do something like this:
const foo = () => { const bar = { a: () => bar, b: