Watch the video to learn about both!
Typescript is better in two ways.
TypeScript simplifies Javascript, making it easier to read and debug.
One of the main goals of TypeScript is to make app development as quick and easy as possible, and the tooling support it gives is really appreciable.
TypeScript even comes with REST APIs which is a plus point.
In conclusion to this, TypeScript is the better option for developers.