Definitions and Usages

This lesson is a brief introduction to index signatures with TypeScript.

We'll cover the following

Introduction

JavaScript allows accessing an object’s members by using square brackets [] with the name of the member between them. It allows for dynamically reaching a value without having to use dot notation. This technique is called accessing by index signature and is available to any object for assignment or reading values.

Get hands-on with 1200+ tech skills courses.