mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 02:33:53 -06:00
Closure compiler ES6 support rejects expressions of the form `let A = B
= class {}`
With a small rewriting of the emitted code the case of decorated and
staticly referenced classes, TypeScript ES6 emit satisfies this
requirement.
Before:
let C_1;
let C = C_1 = class C {};
After:
let C_1 = class C {};
let C_1 = C;