[I] FunctionType
The type of a Function in TypeSpec.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Modifier | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|---|
creating? | public | true | If the type is currently being created. | - | BaseType.creating |
entityKind | readonly | "Type" | - | - | BaseType.entityKind |
instantiationParameters? | public | Type[] | - | - | BaseType.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) | - | BaseType.isFinished |
kind | public | "FunctionType" | - | BaseType.kind | - |
node? | public | Node | Node used to construct this type. If the node is undefined it means the type was dynamically built. With typekit for example. | - | BaseType.node |
parameters | public | MixedFunctionParameter[] | The parameter constraints of the function. | - | - |
returnType | public | MixedParameterConstraint | The return type constraint of the function. | - | - |