Open Azatey opened 7 years ago
Trying to create singleton class with static property with instance of the container class will fail due to incorrect transformations:
class Foo { static instance = new Foo(); }
will become:
let Foo = class Foo { static instance = new Foo(); // Here Foo is not a constructor }
Trying to create singleton class with static property with instance of the container class will fail due to incorrect transformations:
will become: