Describe the bug
public async onChangeDimensionType(event: sap.m.Select$ChangeEvent) {
const selectedItem = event.getParameter("selectedItem");
}
TS tells me that selectedItem might be undefined, which is wrong.
Expected behavior
Should return a selected item, as defined by the UI5 API reference.