:TS:TypeParameter
Node
→ represents a type parameter for a generic :TS:Function or :TS:Method
Properties
Name | Description |
---|---|
name | name of the type parameter |
index | position of the type parameter in the type parameter list (zero-based) |
Relations
Name | Target Label(s) | Cardinality | Description |
---|---|---|---|
CONSTRAINED_BY | :TS:Type | 1 | type constraint for the type parameter (default: empty :TS:Type:Object) |