At the risk of being downvoted into oblivion, why?
You'd be jumping through so many hoops to set up a build pipeline for transpiling Typescript into C++, let alone writing a BSP library in Typescript to interact with the Arduino SoC. ( Which is vaguely interesting, I'd still call it a fool's errand though. )
You'd surely be much better off investing the same amount of time and effort becoming proficient in writing C for the target platform.
If America drove on the left, the driver side would be on the right instead. This would only shift the truck blind spot to the other side meaning they would still drive opposite either way.
Probably because you are routinely driving within a few feet of traffic coming the other way and it's easier to tell where the edge of your vehicle is when you're practically sitting on it versus sitting on the other side of the car.