Function resolveTypeOrDeferredTypeWithArgs

Resolves the value out of a TypeOrDeferredType