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 🙂



1 Reply
I figure it out, you have to use declare.
