Building the getter, setter approaches for an attribute after which passing these as argument to property functionality This seems to be similar to this concern: Wrong "Property would not exist on style 'hardly ever'" when modifying value inside callback with strictNullChecks, that's closed as a duplicate of this problem (discussion): https://whitelandgurugram.co.in/