How does the Record<K, V> utility type differ from Partial<T>?
Record<K, V> defines a type with keys of type K and values of type V, while Partial<T> makes all properties of T optional
Record<K, V> excludes properties, while Partial<T> includes properties.
Partial<T> applies to strings only, while Record<K, V> applies to numbers only.
Record<K, V> prevents the use of generic types, while Partial<T> allows them.
This question is part of this quiz :
Advanced Types in TypeScript Quiz