I can't set the user ID using matomo tag manager and React typescript

hi i am trying to set users id and i am using @datapunt/matomo-tracker-js library. I need help, I can’t solve this problem. My matomo matrix is ​​_mtm. Can someone show me an example of how you’ve done it?