arktypea
arktypeโ€ข11mo ago
GreggOD

Type is not assignable to type (unions)

I am passing a typescript type into arktypes 'type' function, the type i am passing is has 2 union fields. It seems arktype expects the typescript union fields to have the same string formatting as itself which looks like a bug.

See the screenshots and let me know ๐Ÿ™‚
image.png
image.png
image.png
Was this page helpful?