TypeDoc API - v0.28.2
    Preparing search index...

    Class OptionalType

    Represents an optional type

    type Z = [1, 2?]
    // ^^

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

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

      Returns string

    Properties

    elementType: Models.SomeType
    type: "optional"

    The type name identifier.