Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.5.14/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>>