Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IUseFieldsHook<T>

Create useFields type returning IUseFields.

Type parameters

Hierarchy

  • IUseFieldsHook

Callable

  • Creates object of virtual field hooks.

    Type parameters

    • K: string

    Parameters

    • virtual: boolean

      when true indicates field is virtual.

    • Rest ...names: K[]

      the names of the virtuals you want to create.

    Returns IUseFields<K, IUseField<T & Record<K, T>>>

  • Creates object of field hooks.

    Type parameters

    Parameters

    • Rest ...names: K[]

      the names of the virtuals you want to create.

    Returns IUseFields<K, IUseField<T>>

Generated using TypeDoc