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
BugA bug in TypeScriptDomain: JavaScriptThe issue relates to JavaScript specificallyEffort: CasualGood issue if you're already used to contributing to the codebase. Harder than "good first issue".checkJsRelates to checking JavaScript using TypeScript
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!
BugA bug in TypeScriptDomain: JavaScriptThe issue relates to JavaScript specificallyEffort: CasualGood issue if you're already used to contributing to the codebase. Harder than "good first issue".checkJsRelates to checking JavaScript using TypeScript
Activity