Closed mkrause closed 5 days ago
Resolves #4
Currently this is always generating a Union when there's a type array (with 2+ elements). We could also consider special casing type: ['null', <T>] to generate S.NullOr.
Union
type
type: ['null', <T>]
S.NullOr
Resolves #4