What does the following mapped type do?
type ReadonlyProperties<T> = {
readonly [K in keyof T]: T[K];
};
Converts all keys of T to strings.
Makes all properties of T optional.
Makes all properties of T readonly.
Maps all values of T to undefined.
This question is part of this quiz :
Advanced Types in TypeScript Quiz