Class IntersectionType

Represents an intersection type.

let value: A & B;

Hierarchy (View Summary)

Constructors

Methods

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

    Returns string

Properties

type: "intersection"

The type name identifier.

types: Models.SomeType[]