New issue
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
Export public method ES6 #3105
Comments
And class Test {
constructor() {
this.testMethod();
}
/** @expose */
testMethod() {
return true;
}
}
/** @expose */
window.Test = Test; output class a {
constructor() {
}
}
window.Test = a; |
Repro for the initial issue
Does using |
For the first issue, I think we just need to update ConvertToDottedProperties to handle computed properties & methods. Currently it runs in ES6 out mode but doesn't do anything special for ES6 syntax. |
If you compress this code
you get this result
it seems to me that the result should be like this
The text was updated successfully, but these errors were encountered: