Open swayongshen opened 9 months ago
Sorry for the delay, I was a bit confused by how typed views are related to XML preprocessing, as typed views are JSViews and the preprocessing applies to XMLViews.
But the UI5 2.x guidelines say "use typed views when using JSViews", so a sample should indeed be provided.
IMPORTANT This tracker is for issues caused by the tools maintained here (type definition generator and ts-interface generator for control development support). But if the bug is within the original OpenUI5/SAPUI5 code/JSDoc, then please report the issue there!
Example: if a UI5 API is defined wrongly in the TypeScript type definitions but the same wrong definition can also be found in the UI5 API documentation, then the issue originates probably from the JSDoc inside the UI5 code, from which both are generated, and needs to be reported in the OpenUI5 issue tracker or the one for SAPUI5, respectively.
Describe the bug Seeking resources to learn how to create a typed view in order to do XML processing for conditional rendering (
<template:if>
<template:else>
). Currently all tutorials are referencing the JS way to do it