We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
override esnext emit output
override
esnext
emit
output
Playground link with relevant code
export class ServiceInherit { age = 30; } export class ServiceInherit2 extends ServiceInherit { override age = 31; }
Output is currently being produced with the override keyword, when targetting ESNext as the language target.
ESNext
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ServiceInherit2 = exports.ServiceInherit = void 0; class ServiceInherit { age = 30; } exports.ServiceInherit = ServiceInherit; class ServiceInherit2 extends ServiceInherit { override age = 31; } exports.ServiceInherit2 = ServiceInherit2;
The output should not include non-standard keywords like override.
The text was updated successfully, but these errors were encountered:
What version are you using? You didn't provide it in the issue template. It's been fixed in 4.3.3: #44273
Sorry, something went wrong.
The playground link is for 4.3.2, I didn't realize 4.3.3 had already been released, but great to hear this is already fixed.
So not released yet, but soon. Closing this as a duplicate of #44273
No branches or pull requests
Bug Report
π Search Terms
override
esnext
emit
output
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
Output is currently being produced with the
override
keyword, when targettingESNext
as the language target.Common JS Output
ESNext Module Ouptut
π Expected behavior
The output should not include non-standard keywords like
override
.The text was updated successfully, but these errors were encountered: