ava/notes/type-unions.md

144 B

Type Unions

TODO: Explore. What syntax is better? | seems better.

type Foo = String | Int32
type Bar = Boolean or String or Int32