How to render a legacy js widget?

How do I render a legacy js widget inside a template? I am unable to bind my properties to the widget. The widget itself would be responsible for the rendering.

I created a my-widget.html and my-widget.ts.

All I see is an empty my-widget tag being rendered in my DOM.

Hi! Please consider sharing your work. It is difficult to suggest any solution without seeing what you have already tried.