[Maps] Mark instance variables as readonly #59695
Labels
chore
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
v7.7.0
v8.0.0
All instance-variables in Maps under
layers/**/*.ts
should be marked as readonly.The current architecture of Maps expects it:
This is now implicitly enforced through code reviews.
By using the
readonly
keyword, we can make this explicit and enforce it at compile-time.This is for typescript code only.
The text was updated successfully, but these errors were encountered: