
Languages & Runtimes
Record vs Index Signatures vs Map: Typing Dynamic Key Objects in TypeScript
When an object's keys are dynamic, TypeScript offers four competing containers. This guide compares Record, index signatures, plain interfaces, and Map — full key coverage, undefined lookups, and how satisfies verifies a dictionary without widening its type.
Nov 23, 2026Read article