in Sources/MockoloFramework/Models/ClosureModel.swift [43:53]
func type(enclosingType: SwiftType, requiresSendable: Bool) -> (type: SwiftType, cast: String?) {
return SwiftType.toClosureType(
params: params.map(\.1),
typeParams: genericTypeNames,
isAsync: isAsync,
throwing: throwing,
returnType: funcReturnType,
encloser: enclosingType,
requiresSendable: requiresSendable
)
}