Function resolveTypeOrDeferredType

Resolves the value out of a TypeOrDeferredType