TypeScript 4.1 derives named APIs from existing object types
engineeringtypescripttypinggenericsapiTemplate literal types and key remapping can describe getter and event conventions without duplicating a model. Recursive conditional types extend that work to nested containers, with explicit checking costs.