mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-25 18:01:07 -05:00
Made an alias for Partial<Record<K, V>>
This commit is contained in:
parent
1967a52df9
commit
67b5bcbf85
1 changed files with 4 additions and 0 deletions
4
src/utils/types/partial-record.ts
Normal file
4
src/utils/types/partial-record.ts
Normal 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>>;
|
Loading…
Reference in a new issue