TypeScript

  • 4 min
How to Convert a TypeScript Enum to a JavaScript Array or String

How to Convert a TypeScript Enum to a JavaScript Array or String

Subtract the data from the enum and remodel it into a JavaScript Array of Strings so you can use it for whatever you like.

  • 2 min
How To Use a TypeScript Interface

How To Use a TypeScript Interface

An interface is a blueprint for an Object. It tells you which properties there are, which are required and optional and which type of data they hold. Let's dive into interfaces by making pizzas for breakfast

  • 1 min
TypeScript: Only Allow A Property From Interface as Parameter

TypeScript: Only Allow A Property From Interface as Parameter

So lately I was working with a team member on an Angular Pipe. We had an Address Interface and wanted to only allow an argument that was…

  • 3 min
How to validate BSN, PGN & OWN in the Netherlands with TypeScript/JavaScript

How to validate BSN, PGN & OWN in the Netherlands with TypeScript/JavaScript

Learn How To Use The Elfproef for dutch identification numbers

  • 2 min
How To Format a Value With Angular NGX-Formly

How To Format a Value With Angular NGX-Formly

Creating forms in Angular with NGX-Formly is super easy. But sometimes you want a little more, like formatting postal codes, phone numbers, or bank accounts. In this post, I will show you how you can do it.

  • 5 min
The Fastest Way To Build Lightweight Angular Content Service

The Fastest Way To Build Lightweight Angular Content Service

Some applications need multiple languages, but others need one language but have loads of content to re-use. In this article, I want to show you the fastest way to create a ContentService (some call it a dictionary) for your Angular application.

  • 7 min
When To Use RxJS Subject, BehaviourSubject, ReplaySubject, AsyncSubject, or Void Subject in Angular

When To Use RxJS Subject, BehaviourSubject, ReplaySubject, AsyncSubject, or Void Subject in Angular

Angular has many types of Observables which you can use. Maybe you’ve seen RxJS methods like Subject, BehaviourSubject, ReplaySubject, or AsyncSubject in Angular. In this post, I want to dive deeper into what those types of Subjects are and when you should use them. So buckle up and enjoy the ride.

  • 3 min
You Don’t Have To Use Observables In Angular

You Don’t Have To Use Observables In Angular

In Angular, you can perform asynchronous actions in two different ways, Observables, and Promises. Most people pick Observables because every example on blogs and documentation tells you to do so. But why? Are Promises that bad? Or Observables that good?

  • 3 min
Two Ways To Unsubscribe Angular Observables

Two Ways To Unsubscribe Angular Observables

Angular is full of Observables. But is there is a mechanism that automatically unsubscribes your Observables when components get destroyed? Yes there is! You can use the async pipe or the takeUnitl method.

  • 5 min
How to Call a Serverless Function Or Web API Periodically With iOS Shortcuts

How to Call a Serverless Function Or Web API Periodically With iOS Shortcuts

Running a Serverless function or Web API every periodically can be done in so many ways. But today, I want to show you a free option in iOS if you have an iPhone or iPad. It is the Shortcut app.

  • 2 min
How To Let a TypeScript Function Accept an Index Type as Parameter

How To Let a TypeScript Function Accept an Index Type as Parameter

If you got the error “_Element implicitly has an ‘any’ type because expression of type ‘string’ can’t be used to index type_” in TypeScript via TSLint or Visual Studio Code? The solution is KeyOf type in TypeScript

  • 1 min
Declare Missing Helper Function (TypeScript) in Visual Studio Code

Declare Missing Helper Function (TypeScript) in Visual Studio Code

When you call a function with parameters in a TypeScript file in Visual Studio Code, you sometimes get an ugly red line. Let's fix that.

  • 1 min
How To Remove Un-used Imports Automatically In Visual Studio Code

How To Remove Un-used Imports Automatically In Visual Studio Code

If you’re working on a project that forces you to run all the linting before you can commit, you can sometimes feel frustrated. But most of the time, I forget to clean un-used imports in my TypoScript/JavaScript files.

  • 1 min
Define NodeJS, NPM, and TypeScript version in your Package.json

Define NodeJS, NPM, and TypeScript version in your Package.json

I think this is a pretty unknown feature in the package.json. But you can define what version a computer needs to be able to run your project.

  • 2 min
How To Add Props To Styled Components in React.js with TypeScript

How To Add Props To Styled Components in React.js with TypeScript

I’m pleased with Styled-components. Adding proper TypeScript typings was a big question for me, until now! So I want to share them with you. 😉

  • 12 min
How To Build A Serverless Webshop — part 2

How To Build A Serverless Webshop — part 2

Product list and detail view with Angular

  • 6 min
How To Build A Serverless Webshop

How To Build A Serverless Webshop

Connect Angular and FaunaDB with Netlify Serverless functions

  • 2 min
TypeScript’s New Top-Level Await

TypeScript’s New Top-Level Await

We don’t need an async function wrapper anymore

  • 4 min
4 Steps to Get Started With Serverless Functions on Netlify

4 Steps to Get Started With Serverless Functions on Netlify

In this article, I want to tell you everything I know about serverless functions. I’m not going to dive into the small details. I want to talk about what they are and why you want to use them as front-end developers. What Are Serverless Functions?

  • 13 min
TypeScript For Beginners

TypeScript For Beginners

In this post, I want to dive into the basics of TypeScript. We’re going to learn primitives, interfaces, enums, classes and a lot more. Sit back, grab your editor and let's get started with learning TypeScript.

  • 7 min
How to Build Fast, Advanced JSON-Powered Forms on Angular With ngx-formly

How to Build Fast, Advanced JSON-Powered Forms on Angular With ngx-formly

Validations, repeatable sections, conditional fields, and submitting your form to your API

  • 11 min
Build Fast, JSON-Powered Forms on Angular With NGX Formly

Build Fast, JSON-Powered Forms on Angular With NGX Formly

Forms can be a nightmare — let’s make them better