In line with this principle, the attributes of a class are made private to cover and safeguard them from other code. This is apparently much like this issue: Untrue "Property will not exist on style 'hardly ever'" when altering value within callback with strictNullChecks, that's closed as a duplicate of https://smartworldeveloper.in/