Class ConditionalType

Represents a conditional type.

let value: Check extends Extends ? True : False;

Hierarchy (view full)

Constructors

Properties

checkType: Models.SomeType
extendsType: Models.SomeType
falseType: Models.SomeType
trueType: Models.SomeType
type: "conditional" = "conditional"

The type name identifier.

Methods

  • Implementation method for toString. needsParenthesis will be used to determine if the returned string should be wrapped in parenthesis.

    Returns string

Generated using TypeDoc