Typescript, IMHO, is superior in every way and shoyld be your primary focus to learn.
I've had interviews that still expect you to know the inner workings of JS, though, so it's a good idea to get a deeper understanding of how the two relate.