Type alias JustT<TMaybe>

JustT<TMaybe>: TMaybe extends Maybe<infer T>
    ? T
    : never

Extract the Just value type T from the type Maybe<T>.

Type Parameters

  • TMaybe extends Maybe<any>

Generated using TypeDoc