Javascript

How To Use Basic Types in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Basic Types in TypeScript

TypeScript is an extension of the JavaScript language that uses JavaScript’s runtime with a compile-time type checker. This combination allows developers to use the full JavaScript ecosystem and language features, while also adding optional static type-checking, enum data types, classes, and interfaces. This tutorial will go through type declaration and all the basic types used in TypeScript.

Read more
Using Event Emitters in Node.js — step-by-step Javascript tutorial on Progressive Robot

Using Event Emitters in Node.js

Event emitters are objects in Node.js that trigger an event by sending a message to signal that an action was completed. In this article, you will create an event listener for a TicketManager JavaScript class that allows a user to buy tickets. You will set up listeners for the buy event, which will trigger every time a ticket is bought. This process will also teach you how to manage erroneous events from the emitter and how to manage event subscribers.

Read more
How To Use Modules in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Modules in TypeScript

Modules are a way to organize your code into smaller, more manageable pieces. TypeScript evolved along with ECMAScript specifications to provide a standard module system for JavaScript programs that has the flexibility to work with the different existing formats. In this tutorial, you will take a look at how to create and use modules in TypeScript.

Read more
CHAT