Class IntersectionType

Represents an intersection type.

let value: A & B;

Hierarchy (view full)

Constructors

Properties

type: "intersection" = "intersection"

The type name identifier.

types: Models.SomeType[]

Methods

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

    Returns string