Matching Inputs and Outputs with Schema
How would I match inputs and outputs via Schema? Given I've got basically defined strings that may be put in, each with a specific return type, such as:
Is there a senseful way to type this, or should I rather resort to a simple union?
Is there a senseful way to type this, or should I rather resort to a simple union?
