How to use UniTuple in function reference signature when the function returns multiple values

I am building a list of function references, for functions that return multiple values in the following way:

return 2.1, 3.1, 4.5, 2.1, 1.0  # 

I have however trouble to create the correct function signature in order to create the list of function references. At the moment, I use

 fn = numba.typed.List.empty_list(
        types.ListType(types.float64)(  # return value
            types.int64,  # i
            types.ListType(types.float64[::1]),  # a1
            types.ListType(types.float64[::1]),  # a2
            types.ListType(types.float64), 
        ).as_type()
    )

but that fails. The actual return type is UniTuple(float64 x 5), but I could not figure out how to specify this in the above signature

What is the best way to return multiple values list from a jitted function, and how do I specify this in the signature of a list of function references?

For context, this is in relation to an earlier (solved) post List mistaken as list when creating list of function references

hi @uliw , I think types.UniTuple(types.float64, 5) is what you are looking for

Thanks, I thought I tried this, but must have been a typo somewhere. the above is now working.