TypeScript

TypeScript subscription active
You will receive email notifications for new publications on TypeScript.
35 Results
  • Tutorial

    How To Set Up a New TypeScript Project

    In this tutorial, you will learn how to set up a TypeScript project without a starter's help. You will also learn how compiling works in TypeScript and how to use a linter with your TypeScript project.
    By Alligator.io TypeScript
  • Tutorial

    How To Run TypeScript Scripts with ts-node

    In this article you will learn how to run TypeScript scripts without the hassle of manually transpiling.
    By joshtronic TypeScript
  • Tutorial

    How To Use Generics in TypeScript

    With generics, you can write dynamic and reusable generic blocks of code. In this article, you will integrate generics into your TypeScript code and apply them to functions and classes.
    By Adesh Kumar TypeScript
  • Tutorial

    TypeScript Mixins

    Here's a short primer on creating and using Mixins in TypeScript.
    By Alfred M. Adjei TypeScript
  • How To Create Custom Types in TypeScript

    Though the basic types in TypeScript will cover many use cases, creating your own custom types based on these basic types will allow you to ensure the type checker validates the data structures specific to your projec...
    By Jonathan Cardoso TypeScript Development JavaScript
  • How To Use Interfaces in TypeScript

    Interfaces in TypeScript enable you to represent and document various data structures. In this tutorial, you'll create interfaces, learn how to use them, explore the differences between normal types and interfaces, an...
    By Jonathan Cardoso Development JavaScript TypeScript
  • Tutorial

    How To Build a REST API with Prisma and PostgreSQL

    Prisma is an open source database toolkit. In this tutorial, you will build a REST API for a small blogging application in TypeScript using Prisma and a PostgreSQL database. At the end of the tutorial, you will have a...
    By nikolasburk Databases PostgreSQL API TypeScript Docker Node.js
  • How To Use Decorators in TypeScript

    Decorators are a way to decorate members of a class, or a class itself, with extra functionality. This tutorial covers creating decorators in TypeScript for classes and class members, and also how to use them.
    By Jonathan Cardoso TypeScript JavaScript Development
  • Tutorial

    Module Augmentation in TypeScript

    A demonstration of the creation and usage of TypeScript module augmentation, which allows us to extend the functionality of other modules.
    By Alfred M. Adjei TypeScript
  • Tutorial

    How To Use Type Aliases in TypeScript

    Learn how to create dynamic and reusable code with TypeScript type aliases.
    By Alfred M. Adjei TypeScript
  • How To Use Classes in TypeScript

    Classes are a common abstraction used in object-oriented programming (OOP) languages to describe data structures known as objects. TypeScript has full support for class syntax and also adds features on top of it, like...
    By Jonathan Cardoso Development JavaScript TypeScript
  • Tutorial

    How To Set Up a Gatsby Project with TypeScript

    TypeScript is a superset of JavaScript that adds optional static typing at build time, which cuts down on debugging runtime errors. It's static-typing abilities go well with a static-site generator like Gatsby, and G...
    By Brandon Dusch TypeScript GatsbyJS Development JavaScript
  • 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 prope...
    By Jonathan Cardoso TypeScript JavaScript Development
  • Tutorial

    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 Angula...
    By PaulHalliday Angular HTML CSS TypeScript Development JavaScript
  • Tutorial

    How To Build a Bookstore Landing Page with Gatsby and TypeScript

    Landing pages are web pages that promote a product or service, providing a place for customers to land when arriving at a site. In this tutorial, you will build a landing page with TypeScript and the Gatsby static sit...
    By Brandon Dusch Development JavaScript TypeScript GatsbyJS
  • Tutorial

    TypeScript Enum Declaration and Merging

    Here's a short post explaining how to create and merge Enums in TypeScript.
    By Alfred M. Adjei TypeScript
  • 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 informat...
    By Jonathan Cardoso TypeScript JavaScript Development
  • Tutorial

    Interface Declaration Merging in TypeScript

    A post that shows how to go about creating and using TypeScript declaration merging for interfaces, and why it's useful.
    By Alfred M. Adjei TypeScript
  • Tutorial

    How To Use Typescript with Create React App

    Learn how to use Create React App to build a React application with Typescript support.
    By Chris Sev React Development JavaScript TypeScript
  • 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, whi...
    By Jonathan Cardoso TypeScript Development JavaScript