From 0cc1ef7cbe21918337e1bcad5c2b0957c49a5634 Mon Sep 17 00:00:00 2001 From: Florian Vogt Date: Tue, 20 Aug 2024 16:44:57 +0200 Subject: [PATCH] [INTERNAL] sap.ui.jsview: Improve deprecation message SNOW: n/a CR-Id: 002075125800003802742024 JIRA: CPOUI5FOUNDATION-884 Change-Id: I49fb65f3e6780e1dcf9d0bf00e640d511c8f24e1 (cherry picked from commit 21d4663c67a7d3e7ba136886b9847a3677c941bd) --- src/sap.ui.core/src/sap/ui/core/mvc/JSView.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sap.ui.core/src/sap/ui/core/mvc/JSView.js b/src/sap.ui.core/src/sap/ui/core/mvc/JSView.js index 18999759152c..484d6a83c0e9 100644 --- a/src/sap.ui.core/src/sap/ui/core/mvc/JSView.js +++ b/src/sap.ui.core/src/sap/ui/core/mvc/JSView.js @@ -139,8 +139,9 @@ sap.ui.define([ * @param {boolean} [bAsync=false] whether the view source is loaded asynchronously * @public * @static - * @deprecated Since 1.56. Use {@link sap.ui.core.mvc.View.extend View.extend} to define the view class - * and {@link sap.ui.core.mvc.View.create View.create} to create view instances + * @deprecated Since 1.56. Instead use {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed Views} + * by defining the view class with {@link sap.ui.core.mvc.View.extend View.extend} and + * creating the view instances with {@link sap.ui.core.mvc.View.create View.create}. * @ui5-global-only * @returns {sap.ui.core.mvc.JSView | undefined} the created JSView instance in the creation case, otherwise undefined */