Exercise #46: Discriminated Union With Unique Values To Object
Type Transformations ยท 06-challenges
Goal

Goal: Map the union to an object keyed by `route`, using `search` when it exists and `never` when it does not.

Run "Check Solution" to validate your code in the browser.