Optional property with const string array
Hello, the following
is giving a error. It's not really clear to me why - I assume the
Is there a way to have an optional property be one of a string array in arktype? Or is what I'm after effectively indexed access expressions? Thanks
is giving a error. It's not really clear to me why - I assume the
=== operator is doing more than what I think. Is there a way to have an optional property be one of a string array in arktype? Or is what I'm after effectively indexed access expressions? Thanks
GitHub
TypeScript's 1:1 validator, optimized from editor to runtime - Issues · arktypeio/arktype