I wrote a program where something like this occurs :
class MyClass { att: number = 0 private exec(f: () =>