Use Typescript libraries from Phoenix/Liveview application

The library is to connect a specific mobile app to my Phoenix application, that means after setting everything perfectly a user can use this mobile application regularly by redirecting him from the browser to this app.
To keep everything simple, I have just one button “Connect” with phx-click="connect" and handling this event by doing nothing {:noreply, socket} just for testing, when I instanciate seeraConnect and click this button, the Phoenix logs stop to be shown, when I put this constructor in comment, Phoenix logs the handling of this button click, that’s what happened.