From 4b9208e748c9e67f3fec75eaf512811aca8e2d55 Mon Sep 17 00:00:00 2001 From: Matt Pocock Date: Thu, 22 Jun 2023 10:13:27 +0100 Subject: [PATCH] Fixed 30 --- src/04-advanced-props/30-partial-autocomplete.solution.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/04-advanced-props/30-partial-autocomplete.solution.tsx b/src/04-advanced-props/30-partial-autocomplete.solution.tsx index 3ccb1ac..eb1eb9a 100644 --- a/src/04-advanced-props/30-partial-autocomplete.solution.tsx +++ b/src/04-advanced-props/30-partial-autocomplete.solution.tsx @@ -9,8 +9,6 @@ type Size = keyof typeof presetSizes; * Oddly, this works. Forcing string to intersect with {} does SOMETHING * which makes TypeScript do what we want. * - * 1. Doing (string & unknown) also works. Try it out! - * * Honestly, I'm not sure why this works. Some compiler-diving is required * to figure it out. */