79745270

Date: 2025-08-25 01:37:57
Score: 1
Natty:
Report link

Change your export method

foo1 is the same as foo2


// foo1.ts
async function foo1() {
  return {};
}
export default { foo1 };

// bar.test.ts
import foos1 from './foo1.js';
await foos1.foo1();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ZZ oo