typescript

Using TypeScript with Node.js and Express

Learn how to set up TypeScript in an Express.js app.
Aman Mittal
5 min read

Roll your own dependency injection

Have you tried using dependency injection (DI) frameworks only to be bowled over by their complexity and the difficulty of trying to bend them...
Ashley Davis
13 min read

Introduction to Hegel

Learn how to implement and use Hegel, a new type checker library that combines a static, strong type system with great type inference, and...
Nathan Sebhastian
4 min read

Dynamic type validation in TypeScript

Most people think that by using TypeScript as their application language, they are "covered" from any emptiness error, but this assumption is wrong.
Emanuel Suriano
9 min read

How to use static code analysis to write quality…

Static code analysis is a process of inspecting the source code to get some insights without actually running it. Learn more here.
Michal Zalecki
8 min read

Type-safe fetching with gretchen

Gretchen allows type-safe fetching by providing a very subtle abstraction over the popular fetch() syntax that you already know and love.
Olasunkanmi John Ajiboye
3 min read

How TypeScript design patterns help you write better code

This tutorial explains the importance of design patterns in a modern codebase; demonstrates how to implement the observer, builder, and prototype design patterns in...
Eslam Hefnawy
5 min read

How to build a GraphQL API with NestJS

GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need,...
Godwin Ekuma
6 min read

How to organize your nut.js development workflow

Building and shipping a ready-to-use desktop automation framework for three major platforms requires an elaborate development setup. In this tutorial, I'll show you how...
Simon Hofmann
4 min read

Getting started with TypeScript generics

In this article, we'll learn how to use generic types in our functions to create more reusable functions along with generic classes and generic...
Leonardo Maldonado
5 min read

How to build React components for codebases that use…

In this article, we’ll learn how we can use TypeScript with React and built components that are usable within both TypeScript and JavaScript files.
Austin Roy Omondi
5 min read

Types vs. interfaces in TypeScript

It is very simple to get started with TypeScript, but sometimes we need to think more about the best use case for us. In...
Leonardo Maldonado
4 min read