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
This is a duplicate of #5579.
The issue here is that the compiler does things in phases. the first phase, binding, it setts the names of properties on a type/symbol. the second is type resolution, that is when it knows about types of symbols. this change requires these two phases to be interleaved in a way, which is not a small change.
TypeScript Version: master (c76a3a6)
Code
Expected behavior:
z
has type{ x: "y" }
Actual behavior:
z
has type{ [x: string]: 'y' }
. It's inconsistency.The text was updated successfully, but these errors were encountered: