UnionValidatorConfig
See source codetype UnionValidatorConfig<Key extends string, Config> = {
readonly [Variant in keyof Config]: Validatable<any> & {
validate(input: any): {
readonly [K in Key]: Variant
}
}
}
Prev
ExtractRequiredKeys