Skip to content

RestParam

Supertype of rest parameters. Its subtype says which items it takes, and its name is nil when it is anonymous.

Inherits from: Param

Fields

type_ellipsis @ (Span | nil)

The explicit ... in the type annotation, or nil when absent.