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
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
TypeScript Version: 2.4.2
Code
Expected behavior:
I'm assigning the values in the constructor, so I would assume that the readonly modifier would not take effect yet.
Actual behavior:
Is this a bug or does TypeScript disallow assignment to readonly indexers due to implementation difficulties?
The text was updated successfully, but these errors were encountered: