returns(annotation:)¶
Appends a return value with the given annotation to the signature.
Declaration
Parameters
annotation: The annotation of the return value.
Returns
A new signature with the return value component appended.