import { type FieldPathValues } from "https://deno.land/x/netzo@0.4.72/deps/react-hook-form.ts";
Type to evaluate the type which the given paths point to.
Examples
Example 1
Example 1
FieldPathValues<{foo: {bar: string}}, ['foo', 'foo.bar']>
= [{bar: string}, string]
Type Parameters
TFieldValues extends FieldValues
TPath extends FieldPath<TFieldValues>[] | readonly FieldPath<TFieldValues>[]
definition: { } & [K in keyof TPath]: FieldPathValue<TFieldValues, TPath[K] & FieldPath<TFieldValues>>