Type alias ValueOf<T>

ValueOf<T>: "value" extends keyof T
    ? T["value"]
    : any

Infers the value of the field.

Use ValueOf<this> in plugin interfaces to infer the value of the current field.

Type Parameters

  • T

    The field to infer value of.