def resolve_forward_ref(typ):
if is_forward_ref(typ):<EOL><INDENT>return eval_forward_ref(typ)<EOL><DEDENT>else:<EOL><INDENT>return typ<EOL><DEDENT>
If typ is a forward reference, return a resolved version of it. If it is not, return typ 'as is'

:param typ:
:return: