Building the getter, setter methods for an attribute and afterwards passing these as argument to property function This is apparently much like this problem: Bogus "Property doesn't exist on sort 'by no means'" when modifying worth inside of callback with strictNullChecks, that's closed as a reproduction of the difficulty (discussion): https://conscientgurugram.in/