/unions

Primary LanguageTypeScriptApache License 2.0Apache-2.0

unions

Sample project that uses a Concerto model to generate Typescript. The Typescript code uses descriminated unions (tagged unions) and includes a switch statement that ensures that all tags are covered.