Getting started with TypeScript for the uninitiated

Getting started with TypeScript for the uninitiated

When I started putting this article together, the first thing on my mind was getting a picture that is more than a thousand words. Thank goodness I found this. Better JavaScript development with TypeScript. Getting started with TypeScript for the uninitiated

Introduction:

When I started putting this article together, the first thing on my mind was getting a picture that is more than a thousand words. Thank goodness I found this.

My goal of this article is to help you understand what TypeScript is, why you should care, and how to get started. The picture above in essence capture what the TypeScript Engine is doing for you behind the scene, maybe we can put it like the mother hen looking out for the chicks. But online the mother hen we have to explicitly enable TypeScript to do that. That is why is more like setting up a watch system in our JavaScript code that looks out for our safety in development.

What TypeScript does?

It helps us catch errors during development, in JavaScript, you mostly have to run your code and cross your finger that the browser console doesn’t blow up. It’s important to know that TypeScript only runs in development.

Using typed annotations it analyzed our code for errors before we even run it, this provides great development experience. Before we move on to how to install and get started with TypeScript, its important to know that TypeScript doesn’t provide any kind of performance optimization for your code in production; It’s actually compiled to JavaScript so the browser or NodeJS runtime doesn’t even know TypeScript exist. Its purpose is to speed up your development provides auto-completion and catch errors early. Like the

typescript nodejs code web-development javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Hire NodeJs Developer

Looking to build dynamic, extensively featured, and full-fledged web applications? **[Hire NodeJs Developer](https://hourlydeveloper.io/hire-dedicated-node-js-developer/ "Hire NodeJs Developer")** to create a real-time, faster, and scalable...

Hire Nodejs Developer

Looking to **hire NodeJS Developer**[https://www.dataeximit.com/node-js-development/](https://www.dataeximit.com/node-js-development/ "https://www.dataeximit.com/node-js-development/") to build a perfect back-end to your website or...

How to Restart the TypeScript NodeJS Application Fast

ts-node one of the best tool for NodeJS-Typescript development but when comes to typescript it doesn't do the best job.

Why Web Development is Important for your Business

With the rapid development in technology, the old ways to do business have changed completely. A lot more advanced and developed ways are ...

Important Reasons to Hire a Professional Web Development Company

    You name the business and I will tell you how web development can help you promote your business. If it is a startup or you seeking some...