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
Since you can't have a method and a field with the same name, there should be a "Duplicate identifier 'a'" error, as there was in TS 1.8, and as there still is if the field comes first.
Actual behavior:
No error. The field takes precedence (.a property has type of number, is not callable).