<!--- STOP! Before you open an issue please search this repository's issues to see if it has already been reported. This helps reduce duplicate issues from being created. --> ### Expected Behaviour This is should add the class as component. It is not working because of ts. ``` import {register} from '@nc/component-loader'; class testScript { constructor() { this.init(); } public init(): void { window.alert('Hello World'); } } register({testScript}); ```