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 bisect result says this was an (unintended?) side-effect of #8696. cc @RyanCavanaugh wasn't the restriction only supposed to be relaxed if the declarations had the same types?
TypeScript Version: 2.7.0-dev.201xxxxx
Code
Expected behavior:
j
is typeany
, TS issues an error on both declarations ofbold
because their type doesn't match.Actual behavior:
No error,
j
is typestring
.Please note, the
colors
DT package (and one other package) relies on our current buggy behavior here and will need to be fixed.The text was updated successfully, but these errors were encountered: