TypeScript/tests/cases/compiler/exportDefaultParenthesizeES6.ts
Wesley Wigham c2aa13dac5
Parenthesize export assignments if needed (#19590)
* parenthesize export assignments if needed

* Add default-specific parenthesization to handle lookahead

* New parenthesization logic for export default

* Handle commalist and comma cases
2017-10-30 18:23:32 -07:00

4 lines
102 B
TypeScript

// @target: es6
// @module: esnext
// @filename: classexpr.ts
export default (class Foo {} as any);