Class RestType

Represents a rest type

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

Hierarchy (view full)

Constructors

Properties

elementType: Models.SomeType
type: "rest" = "rest"

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