Top "Mapped-types" questions

Use for questions about types for transforming other types, aka mapped types, in TypeScript, either custom or included in the standard library (like Omit, Partial, Pick, Readonly).

How to implement TypeScript deep partial mapped type not breaking array properties

Any ideas as to how might apply TypeScript's Partial mapped type to an interface recursively, at the same time not …

typescript recursion partial mapped-types
In TypeScript, how to get the keys of an object type whose values are of a given type?

I've been trying to create a type that consists of the keys of type T whose values are strings. In …

typescript generics typescript-generics mapped-types
Typescript enum type check for conditional types?

I have restful services that accept enum values as either the number OR the string, but always return just the …

typescript enums mapped-types conditional-types