class default export makes private fields "unused"?
I am not sure if this is a bug, but it irritates me a lot. When I make this class a default export I get the below warning (unused field “bar”).
Can anyone reproduce this? Why is this?
export default class Foo {
private bar = "";
init() {
this.bar = "baz";
return this.bar;
}
}
Please sign in to leave a comment.
This is the known issue, please vote for WEB-68793 to get notified of any progress with this bug.
Thank you very much Elena!