From 504c6826dfe7745c13e5dbdb3e5f7fa8ef4c5218 Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Fri, 22 Nov 2024 17:49:41 +0100 Subject: [PATCH] be extra thorough --- src/masking/internal/types.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/masking/internal/types.ts b/src/masking/internal/types.ts index 7ddc54e6554..b844a8b702a 100644 --- a/src/masking/internal/types.ts +++ b/src/masking/internal/types.ts @@ -81,7 +81,9 @@ type MergeUnions = MergeUnionsAcc< type DistributedRequiredExclude = T extends any ? Required extends Required ? - never + Required extends Required ? + never + : T : T : T;