Open gamedevsam opened 3 years ago
In your code you wrap all exported classes in an immediately invoked function expression. But you're also using ES Modules.
Why do this?
export const something = (() => { class Something {} return { Something: Something }; })();
Instead of this?
export class Something {}
In your code you wrap all exported classes in an immediately invoked function expression. But you're also using ES Modules.
Why do this?
Instead of this?