Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/react-hook-form.ts>FieldPathValues

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
type alias FieldPathValues
Re-export
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

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>>