Have you heard about TypeScript? Of course, you do. It’s becoming more and more popular among all the frontend developers nowadays. So, It’s a hot time to find out why.
The main reason is by programming in TypeScript you do not think about silly errors. They will be detected by the TS compiler.
The second reason – you do not need to deeply modify your ready JS code if you wish to have this advantage of automatic checks. So, you just need to transform the ready JS code into TS code.
The third reason is the opportunities for any browser, for any host, on any OS. By programming in TypeScript, you can easily control more complicated projects, avoiding discrepancies, and become an in-demand programmer.
In short, you will be more productive, better paid, and could be involved in advanced projects, which can not be realized in pure JS.
Here are several sources I’ve collected for myself to have a quick start in understanding the TS.
To get an overview of the main features:
If you are definitely ready to begin studying TS, now I recommend this lovely book:
https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html and the whole platform is a Klondike of valuable resources.
- If you need a clear explanation of TypeScript features, variables, types, and strong typing, this video from Mr. Schwarzmuller with a clear explanation and detailed examples is one, which I am ready to watch over and over again. Really, a great course to do a quick jump in the career.
- Now you have to begin with your own project to feel, how it works. If you already have the case in progress, just do a try to check it with the help of strong typing. If not, take any JS project from the open-source and transfer it into TS. Check how it works. If you got more questions, the GitHub community for TS is one of the friendliest. Do not hesitate to ask your questions there.
- Wish to go deeper and be on the cutting edge of the TypeScript programming? – Just for you the fresh version of TS was recently publicly announced on typescriptlang.org.“TypeScript 4.0 brings two fundamental changes, along with inference improvements, to make typing these possible.
The first change is that spreads in tuple type syntax can now be generic. This means that we can represent higher-order operations on tuples and arrays even when we don’t know the actual types we’re operating over. When generic spreads are instantiated (or, replaced with a real type) in these tuple types, they can produce other sets of array and tuple types.”
- Check the knowledge of what you’ve learned with this online test. Just 20 questions to help you evaluate the progress.
Good luck with your study, hope my quick review was useful.