Represents a named member of a tuple type.

let value: [name: string];

Hierarchy

  • Type
    • NamedTupleMember

Constructors

Properties

element: SomeType
isOptional: boolean
name: string
type: "named-tuple-member" = "named-tuple-member"

The type name identifier.

Methods

  • getTypeString(): string
  • Return a string representation of this type.

    Returns string

  • needsParenthesis(): boolean
  • toString(): string
  • Return a string representation of this type.

    Returns string

  • Visit this type, returning the value returned by the visitor.

    Type Parameters

    • T

    Parameters

    Returns T

  • Type Parameters

    • T

    Parameters

    Returns undefined | T

Generated using TypeDoc