I would focus on your _JavaScript_ skills first. Then have an understanding of Type systems.
I would go even further and say you should learn and play with something like Haskell first, which really drives home almost a Esoteric level of functional and typed programming. Then you can "dail it back", take the principles you've learned and the JavaScript knowledge you have, and really understand where and when you'd use TypeScript.