Function resolveTypeOrBindingType

Resolves the value out of a TypeOrBindingType