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
Thanks! Now I get it. Type is somehow immutable. If this is used as an expression in typeof (which I'm trying to implement in #43898), it should get narrowed. right?
Bug Report
π Search Terms
thisType is not narrowed
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
compiler throws an error on
s.f1()
:Property 'f1' does not exist on type 'Base'.
π Expected behavior
should have no error.
The text was updated successfully, but these errors were encountered: