Made an alias for Partial<Record<K, V>>

This commit is contained in:
Kir_Antipov 2022-12-28 15:33:18 +00:00
parent 1967a52df9
commit 67b5bcbf85

View file

@ -0,0 +1,4 @@
/**
* Represents a record object where all properties are optional.
*/
export type PartialRecord<K extends PropertyKey, V> = Partial<Record<K, V>>;