Andreas Kunz

Results 76 comments of Andreas Kunz

Hi @pubmikeb Have you had a look at https://github.com/SAP-samples/ui5-cap-event-app/blob/js-with-typescript-support/README.md? In particular this section: https://github.com/SAP-samples/ui5-cap-event-app/blob/js-with-typescript-support/README.md#provide-type-information-for-loaded-dependencies The `@types/openui5` definitions do no longer support using global variables like `sap.*`. This is to promote...

@pubmikeb Regarding the [difference in notations](https://github.com/SAP/openui5/issues/3403#issuecomment-984104407), fwiw in my VSCode it makes a big difference. I did all permutations of omitting "typeof" and ".default" with different error messages as result...

Oh! :-) Missed that detail. But still it doesn't work: ![image](https://user-images.githubusercontent.com/4866568/144622671-3cd14ba2-7872-4d81-862f-b5ea00532fd6.png) (and when setting module resolution to "Node" still no success) ![image](https://user-images.githubusercontent.com/4866568/144622627-1d99cbec-8c60-4ab9-a0c0-55dcb83835ac.png) This is expected because actually the type definitions...

TL;DR: not sure whether `module:...` JSDoc links are supposed to work at all right now. https://github.com/microsoft/TypeScript/issues/16498 was about @link with http(s) links, but [mentions that symbol links are harder to...

Hold on... I don't think so. It appears as a class at https://ui5.sap.com/1.101.0/#/api/sap.ushell.Container, but loaded from module "sap/ushell/Container". In 1.99 it used to be a field on the namespace (https://ui5.sap.com/1.99.0/#/api/sap.ushell),...

Now internally tracked as 2280149651 to get it handled.

@Revest117: thanks for reporting! This particular issue where the settings type is missing but actually not needed at all is now fixed in the newly released version 0.4.2. The overall...

@danielang Thanks a lot for your contribution! Would you mind also providing a piece of documentation explaining what this allows and what typical use-cases would be? I'm not yet sure...

@danielang While the code is fine and the docu just has minor issues, I think there is a problem in how it works: when the generic class is used in...

Hi, thanks for your report. Yes, that's wrong. And regardless of where you encountered it, it's also an issue in the recommended ts-types-esm definitions. Thanks also for your solution suggestion,...