type alias FieldPathByValueimport { type FieldPathByValue } from "https://deno.land/x/netzo@0.5.30/deps/react-hook-form.ts"; Type which eagerly collects all paths through a fieldType that matches a give type ExamplesExample 1 FieldPathByValue<{foo: {bar: number}, baz: number, bar: string}, number> = 'foo.bar' | 'baz' Type ParametersTFieldValues extends FieldValuesTValuedefinition: [Key in FieldPath<TFieldValues>]: FieldPathValue<TFieldValues, Key> extends TValue ? Key : never[FieldPath<TFieldValues>]