Skip to content
Conditional types

Distribute over union

Demonstrate distributive conditional types by boxing each member of a union and excluding a member via never.

Starter provided. Feel free to modify.

Solution

Loading...
Run your code to see output and diagnostics.

Built by Antigravity. The source code is available on GitHub.