ES6 classes are called as functions which throws an error; The current workaround is to pass the class enveloped into a function `() => MyClass`.
ES6 classes are called as functions which throws an error; The current workaround is to pass the class enveloped into a function
() => MyClass.