Integrate Livechat Widget to Angular Project


i want wo integrate the Livechat Widget to our Angular Project.
I know that i just can import a js file within the widget-script. But what i want is to build the widget in TYPESCRIPT, so that i can send dynamic customfields also.

Is it possible to build the Widget in TYPESCRIPT ?