From 384fa20edd572fb7a90940d4a6e5d7efeb8484c9 Mon Sep 17 00:00:00 2001 From: Matt Pocock Date: Wed, 21 Jun 2023 11:06:45 +0100 Subject: [PATCH] Fixed 27 solution --- .../27-either-all-these-props-or-none.solution.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/04-advanced-props/27-either-all-these-props-or-none.solution.tsx b/src/04-advanced-props/27-either-all-these-props-or-none.solution.tsx index b652c53..0eaa20d 100644 --- a/src/04-advanced-props/27-either-all-these-props-or-none.solution.tsx +++ b/src/04-advanced-props/27-either-all-these-props-or-none.solution.tsx @@ -5,7 +5,10 @@ type InputProps = ( value: string; onChange: ChangeEventHandler; } - | {} + | { + value?: undefined; + onChange?: undefined; + } ) & { label: string; };