I have no fucking clue about typescript shit
TypeScript is just JavaScript that was superset (TS is to JS what C++ is to C, but TS and JS are weaponized).