Skip to content

KeyMap

KeyMap<K, T> = { [key in K]: T }

Mapped type of keys

K extends string[][number]

Union of string keys

T

Type of a mapped values