SAP Business Application Studio keeps underlining certain parts of code that work completely fine.
E.g:
var btAddParent = new sap.m.Button({
id: "btAddParent",
activeIcon: "sap-icon://add-coursebook",
icon: "sap-icon://add-coursebook",
tooltip: "Add parent"
});
var btAddParent = new sap.m.Button({id: "btAddParent",activeIcon: "sap-icon://add-coursebook",icon: "sap-icon://add-coursebook",tooltip: "Add parent"});
Argument of type '{ id: string; acitveIcon: string; icon: string; tooltip: string; }' is not assignable to parameter of type 'string'. ts(2345)
This code works just fine, so there is no reason why it should be underlined. Is there any way to remove the underlines?