MapValuetype

X extends ReadonlyMap<unknown, infer Y> ? Y : never
Type
ReadonlyMap
Y

Extract the type for the value of a map.