Skip to content

Commit

Permalink
Fixed 30
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Jun 22, 2023
1 parent eb96ed1 commit 4b9208e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/04-advanced-props/30-partial-autocomplete.solution.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 4b9208e

Please sign in to comment.