Index signatures

Index signatures allow you to define the shape of objects that may have unknown or dynamically named properties.

This is useful when dealing with objects where property names are not predetermined but share a common value type.

The

It is

Was this page helpful?