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
The 'this' context of type 'T' is not assignable to method's 'this' of type 'this'.
'this' could be instantiated with an arbitrary type which could be unrelated to 'T'.(2684)
🔎 Search Terms
class this parameter inheritance super
🕗 Version & Regression Information
This is the behavior in every version I tried, and I reviewed the FAQ for entries about class
exportclassT{base(this: this){}}classT2extendsT{f(this: this){super.base()// ~~~~~// The 'this' context of type 'T' is not assignable to method's 'this' of type 'this'.// 'this' could be instantiated with an arbitrary type which could be unrelated to 'T'.(2684)}}