function createView(sViewClass, oViewSettings) {
		var ViewClass = sap.ui.require(sViewClass);
		if (!ViewClass) {
			future.warningThrows(`The view class '${sViewClass}' needs to be required before an instance of the view can be created.`);
			/**
			 * @deprecated
			 */
			(() => {
				ViewClass = sap.ui.requireSync(sViewClass);// legacy-relevant: sync fallback for missing dependency
				if (oViewSettings.async) {
					//not supported
					Log.warning("sap.ui.view was called without requiring the according view class.");
				}
			})();
		}
		return new ViewClass(oViewSettings);
	}
The different ViewTypes have been deprecated with different UI5 versions.
Please see the public "sap/ui/core/mvc/ViewType" enum for the specific versions.
@deprecated