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
See #6118. Ideally we'd have the declaration of bar in Buzz somehow contextually typed by the declaration of bar in Foo, but it turns out not to be an easy change.
TypeScript Version: 2.2.0
Code
Playground Link
Expected behavior:
Compiles without error.
Actual behavior:
Apologies if I'm missing something obvious, this is by design, or there are existing issues for this. I searched and didn't find anything like it.
The text was updated successfully, but these errors were encountered: