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
{{ message }}
Repository navigation
No error on super. for inferred class properties in JavaScript #55884
In #54056 we added checks for class fields; however, we don't issue the same error in JavaScript for properties inferred from assignments.
// @ts-checkclassYaddaBase{constructor(){this.roots="hi";}}classDerivedYaddaextendsYaddaBase{getrootTests(){returnsuper.roots;// no error?}}console.log(newDerivedYadda().rootTests);// prints undefined!
Activity