Seems like:<p><pre><code>  export default class ...
</code></pre>
would be the clearest and least bug-prone and satisfies the &quot;no extra closures&quot; complaint. Considering you&#x27;re buying into other ES6isms, why not use that one too?