You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constFoo=Symbol()classWithFoo{[Foo]: any[];// this shouldn't be allowed without an initialization in a constructorFoo: any[];// compare with this, which errors as expected}console.log(newWithFoo()[Foo].length)// uncaught uninitialized symbol member, oops
Expected behavior:
An error like Property 'Foo' has no initializer and is not definitely assigned in the constructor should also be emitted for the symbolic property Foo.