I am creating a solution in TypeScript/Javascript with an extension mechanism. The extensions will all be classes extending a provided abstract class and a configuration file will contain the class name and JSON to pass to the constructor. The extensions to be loaded will be defined in a configuration file.
However, I can't find a way to instantiate an instance of a class from the name of the class.