arktypea
arktype11mo ago
jhechtf

'email' is unresolvable

I have a project that was pretty heavily invested in using ArkType for my validation, and with 2.0 coming out as stable i figured I'd start a branch and see if anything broke.

While there might be other breaking changes, apparently using the email magic word is breaking. For example

export const emailValidator = type('email');


Gives me the RSoD with the error

Argument of type '"email"' is not assignable to parameter of type '"'email' is unresolvable "'.ts(2345)


I also don't see other helper types like uuid, or creditCard

Anyone else running into this?
Was this page helpful?