The shell to the turtle, TypeScript
What TypeScript adopts is an Erased Type System that removes type annotations as well as any type related information from the compiled program. The type annotations are only there to provide type information of values to the TypeScript compiler during the compilation process. This means Typescript falls under the category of statically typed languages.
TypeScripts goal is to catch mistakes in a program before it goes to production. Doing so will prevent problems at the runtime. Its goal is not to provide tools to amend or modify the original source code, basically it’s a safety net and it’s in high demand in all forms of big companies.
ES6 and run the compiled program in an environment that doesn’t support Promises. Meaning it will not run at an optimal performance since it may not support it completely.
Fortunately there is a solution, this can be solved by TypeScript using a configuration file, mainly named
tsconfig.json, that contains information about the project and what is expected from the TypeScript compiler. This is a plain JSON file.
More to the shell
TypeScript has one of the best online documentation. You can easily spend more time reading this documentation from typescriptlang.org. TypeScript provides an online REPL to compile and test TypeScript programs online. They are extremely helpful and intend to only aid you.
The Shell that grows with you
TypeScript is here to stay. I had only ever previously heard of typescript from a fellow colleague in my cohort. It was extremely early when he shared about it but i remember being taken back by it and noting down how i had to look more into it. Unfortunately i became swamped with work and continued to procrastinate it.
Ive been in constant calls with many employees from different big companies, Nike, Lyft, Uber, Spotify you name it. Ive always been curious as to what languages can help us standout and grow as a developer, what languages the companies want to see in us developers. They have mentioned TypeScript every-time. It is something you may have to learn eventually so why not get your foot in the door already.