Invalid code emitted for computed properties #8882
Labels
Has PR
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
Spec: Class Fields
I am working with other developers to bring private fields into TypeScript. While working on that, @joeywatts discovered this issue that currently exists in TypeScript. While comparing TS with Babel, we discovered a bug in Babel's handling of this. Given the input code from the link above, the Babel transformation produces code with a syntax error.
Input code:
Snippet from Babel transformation:
The text was updated successfully, but these errors were encountered: