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
interfaceBase{b}interfaceDerivedextendsBase{d}declarefunctionisDerived(x: Base): x is Derived;functionf<TextendsBase>(x: T,y: T){if(isDerived(x)&&isDerived(y)){returnx.d===y.d;}returnfalse;}
Currently, this errors because both x and y still have type T, so they are missing the d property.