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
How do I declare a variable as readonly? The issue you linked to was taking about making a property readonly. There was a comment mentioning readonly variables but that was not implemented.
Yes, what about a variable that is just a variable, not part of an interface? Do we have any solution for checking the immutability of one-off variables?
Immutable would make a properties on an object immutable recursively.
Example:
The would be useful with pure functions #7770
The text was updated successfully, but these errors were encountered: