From my experience, you don't really learn TypeScript; you grow with it. As you continue to master the fundamentals of JavaScript, you will eventually have a natural tendency to annotate your code with types (for the sake of compile-time safety). At the end of the day, that's just what TypeScript is: a bunch of type annotations for JavaScript.
You don't really "learn" TypeScript; you learn how to statically type-check your JavaScript code.
Case in point, I wouldn't regard TypeScript as an entirely different language to JavaScript. That's why your question is a false dichotomy. You can "learn" TypeScript while using JavaScript libraries. They're just two sides of the same coin, to be honest.
TL;DR: You can definitely learn both at the same time! 😁
From my experience, you don't really learn TypeScript; you grow with it. As you continue to master the fundamentals of JavaScript, you will eventually have a natural tendency to annotate your code with types (for the sake of compile-time safety). At the end of the day, that's just what TypeScript is: a bunch of type annotations for JavaScript.
You don't really "learn" TypeScript; you learn how to statically type-check your JavaScript code.
Case in point, I wouldn't regard TypeScript as an entirely different language to JavaScript. That's why your question is a false dichotomy. You can "learn" TypeScript while using JavaScript libraries. They're just two sides of the same coin, to be honest.
TL;DR: You can definitely learn both at the same time! 😁
Thanks for you advice ;)