constructor(parameterTypes: TypeId[], returnType: TypeId)
View sourceCreates function-signature metadata.
The constructor stores the supplied parameter array directly, so later
mutations to that array are reflected by this metadata. The serialized
form uses a copied parameter array and records the return type separately.
FunctionInfo has no default factory; provide both parts of the
signature.
