X extends ReadonlyMap<unknown, infer Y> ? Y : never
ReadonlyMap
Y
Extract the type for the value of a map.