[I] MixedFunctionParameter
Represent a function parameter that could accept types or values in the TypeSpec program.
Extends
Properties
Property | Modifier | Type | Description | Inherited from |
---|---|---|---|---|
entityKind | readonly | "Type" | - | FunctionParameterBase .entityKind |
instantiationParameters? | public | Type [] | - | FunctionParameterBase .instantiationParameters |
isFinished | public | boolean | Reflect if a type has been finished(Decorators have been called). There is multiple reasons a type might not be finished: - a template declaration will not - a template instance that argument that are still template parameters - a template instance that is only partially instantiated(like a templated operation inside a templated interface) | FunctionParameterBase .isFinished |
kind | public | "FunctionParameter" | - | FunctionParameterBase .kind |
mixed | public | true | - | - |
name | public | string | - | FunctionParameterBase .name |
node | public | FunctionParameterNode | - | FunctionParameterBase .node |
optional | public | boolean | - | FunctionParameterBase .optional |
projectionBase? | public | Type | - | FunctionParameterBase .projectionBase |
projectionSource? | public | Type | - | FunctionParameterBase .projectionSource |
projector? | public | Projector | - | FunctionParameterBase .projector |
rest | public | boolean | - | FunctionParameterBase .rest |
type | public | MixedParameterConstraint | - | - |
Accessors
projections
Get Signature
Returns
Inherited from
FunctionParameterBase
.projections
Methods
projectionsByName()
Parameters
Parameter | Type |
---|---|
name | string |