ui5-typescript
ui5-typescript copied to clipboard
Tooling to enable TypeScript support in SAPUI5/OpenUI5 projects
Hi. There is an issue when generating interfaces for generic classes. Example: ```ts import ManagedObject from "sap/ui/base/ManagedObject"; /** * @namespace com.ts.test.tstest.util */ export default abstract class MyGenericClass extends ManagedObject {...
feat(ts-interface-generator): handeling generic type definitions fix(ts-interface-generator): handling for non-default export ManagedObjects
the `sap.ushell.Container` const that was defined in `sap.ushell.d.ts` seems to no longer be present in version 1.100. how come it was removed?
I'm trying to switch a fiori elements odata v4 app to typescript and am facing the issue that the `override` objects need to be brought into the extend call, just...
As the project I am working on grows, more and more gen.d.ts files are generated. These files are generated every time I save while the ts interface generator is in...
For instance the method `byId` on - "sap/ui/core/mvc/Controller" - "sap/ui/core/mvc/View" - "sap/ui/core/UIComponent" Etc. all return `UI5Element`, but this usually means that accessing say the `SetEnabled` method on a `sap/m/Select` throws...
Example: ``` import Device from "sap/ui/Device" if(Device.system.tablet) { // TS: Property "system" does not exist on type "Device" ... } ``` TS does not recognize the property `system`. It is...
There are conflicts with extending the class which extends standard UI5 class. Example: ```MyControl``` extends ```Control```, contains ```test``` property ```OneMoreControl``` extends ```MyControl```, contains ```anotherTest``` property ![image](https://user-images.githubusercontent.com/31005247/153729010-f00da3f3-a2bc-4599-a069-29dc54521eda.png) ```OneMoreControl``` gets error: ```Class...
This is not so much a jsdoc error as a weird / stupid behavior (imo) createBindingContext can apparently return in some case undefined (technically `null` based on the implementation) however...
Hi, It seems I'm not able to import ShellUIService. It is part of ushell d.ts file but raising errors when importing: ![image](https://user-images.githubusercontent.com/5943183/154913841-552537bc-69e8-4b75-9998-fa25f1557e70.png) Should I do this in another way? Kr,...