How do you specify the type signature for a generator?

I know that for functions returning single values, the syntax is returnType(arg1Type, arg2Type, …). What is the syntax for jitted functions yielding values? I need to specify this as the type inference is going wrong for my specific function.

hi @numbacoder, if Numba is not infering the types correctly then it’s a bug. could you share an example?
The example would also be useful to look into your question about type signature.