ERR_MODULE_NOT_FOUND or any constructor errors
Extension subject declaration. Insert into the domain data to register a module export to be instantiated by an extension subject.
For example (assuming a m-ld
clone.write(ExtensionSubject.declare( 'myCustomClass', 'my-custom-module', 'MyExtClass' ));
the CommonJS module (must be accessible using
the constructor name exported by the module
Obtain an instance of a custom class declared in the data as the type of the given graph subject.
Directly-instantiable extension subject for singleton extensions.