A decorator is actually a purpose that takes a operate being an argument and returns a closure. The closure is a set of inner features and free variables. This seems to be similar to this concern: Untrue "Property won't exist on kind 'in no way'" when changing benefit inside callback https://trehan-floors.in/