Type alias MethodOrProperty<V>

MethodOrProperty<V>: V extends ((...args) => infer R)
    ? ((...args) => Result<Awaited<R>>)
    : Result<Awaited<V>>

Type Parameters

  • V