Building the getter, setter procedures for an attribute and afterwards passing these as argument to property operate This seems to be similar to this problem: Phony "Property doesn't exist on variety 'never'" when changing value inside of callback with strictNullChecks, which happens to be shut as a duplicate of this https://conscientgurugram.in/