From 67b5bcbf85d9a4de7e8eeef958359bc59664d689 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Wed, 28 Dec 2022 15:33:18 +0000 Subject: [PATCH] Made an alias for `Partial>` --- src/utils/types/partial-record.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/utils/types/partial-record.ts diff --git a/src/utils/types/partial-record.ts b/src/utils/types/partial-record.ts new file mode 100644 index 0000000..6ae5b84 --- /dev/null +++ b/src/utils/types/partial-record.ts @@ -0,0 +1,4 @@ +/** + * Represents a record object where all properties are optional. + */ +export type PartialRecord = Partial>;