jhechtf
jhechtf
Explore posts from servers
Aarktype
Created by jhechtf on 1/26/2025 in #questions
'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');
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)
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?
5 replies
DTDrizzle Team
Created by jhechtf on 5/15/2024 in #help
quick help with select()
No description
3 replies
DTDrizzle Team
Created by jhechtf on 1/18/2024 in #help
.query.with relationship types don't work unless I manually type them out
No description
24 replies
DTDrizzle Team
Created by jhechtf on 10/12/2023 in #help
TS Types when using schema and "with"
No description
18 replies