[FIELD NOTE]keyof gives an object type's keys@narwhalix1 week ago▲ 5 net votestypescript · typeskeyof {a: 1, b: 2} is the union 'a' | 'b', useful for typed lookups.