Skip to content

Class: TypeVar ​

Represents a type variable (e.g., 'a), used in polymorphic types.

Constructors ​

Constructor ​

new TypeVar(value, constraints, loc?): TypeVar

Parameters ​

ParameterType
valuestring
constraintsConstraint[]
loc?SourceLocation

Returns ​

TypeVar

Overrides ​

ASTNode.constructor