TypeScript

How to Use Python Virtual Environments on Ubuntu 24.04 — step-by-step Linux tutorial on Progressive Robot

How to Install Deno 2 on Ubuntu 24.04

Deno 2 is a modern JavaScript and TypeScript runtime that is secure by default, requires no package.json, and has first-class TypeScript support. Released in 2024, it is now Node.js-compatible. This guide installs Deno 2 on Ubuntu 24.04 LTS. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server or desktop A user account […]

Read more
How to Set Up a Next.js 15 Application on Ubuntu 26.04 — step-by-step Linux tutorial on Progressive Robot

How to Install Deno 2 on Ubuntu 26.04

Deno 2 is a secure runtime for JavaScript and TypeScript built on V8 and Rust. Unlike Node.js, Deno has built-in TypeScript support, a permission-based security model, and a standard library without npm being required. Deno 2 introduces npm compatibility and improved backwards compatibility. This guide installs Deno 2 on Ubuntu 26.04 LTS. Tested and valid […]

Read more
Getting Started With Angular Using the Angular CLI — step-by-step Javascript tutorial on Progressive Robot

Getting Started With Angular Using the Angular CLI

Angular is a popular JavaScript framework that creates interactive web, mobile, and desktop applications. The Angular CLI simplifies the process of getting started with Angular. This tutorial covers building an Angular application through the Angular CLI and working with its HTML, CSS, and TypeScript files.

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

How To Use Enums in TypeScript

In TypeScript, enums, or enumerated types, are data structures of constant length that hold a set of constant values. Each of these constant values is known as a member of the enum. Enums are useful when setting properties or values that can only be a certain number of possible values. This tutorial will explain the syntax used to create enum types, the JavaScript code that the TypeScript compiler creates under the hood, and a use case for enums in game development.

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

How To Use Functions in TypeScript

TypeScript fully supports the existing JavaScript syntax for functions, while also adding type information and function overloading as new features. Besides providing extra documentation to the function, type information will also decrease the chances of having bugs. In this tutorial, you will start by creating the most basic functions with type information, then move on to more complex scenarios, like using rest parameters and function overloading.

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

How To Use Generics in TypeScript

Generics are a fundamental feature of statically-typed languages, allowing developers to pass types as parameters to a type, function, or other structure. TypeScript fully supports generics as a way to introduce type-safety into components that accept arguments and return values whose type will be indeterminate until they are consumed later in your code. In this tutorial, you will try out real-world examples of TypeScript generics to make your code more re-usable.

Read more
CHAT