type property

TypeAnnotation type

Return the declared type of the parameter, or null if the parameter does not have a declared type.

Implementation

TypeAnnotation get type;
void type=(TypeAnnotation type)

Set the declared type of the parameter to the given type.

Implementation

set type(TypeAnnotation type);