Skip to content

Example: change wdi5 type to promise#9

Draft
heimwege wants to merge 1 commit intomainfrom
wdi5-change-type-to-promise
Draft

Example: change wdi5 type to promise#9
heimwege wants to merge 1 commit intomainfrom
wdi5-change-type-to-promise

Conversation

@heimwege
Copy link
Owner

@heimwege heimwege commented Aug 28, 2025

Wdi5 currently has an issue with the UI5 types because it uses them as is but actually those are wrapped as promises when testing with wdi5 (ui5-community/wdi5#509).

This example fixes the type issue by providing a generic type Promised<T> that can be used to convert the UI5 types to promises.

todo: test import { promisify } from 'util';

@heimwege heimwege changed the title change wdi5 type to promise Example: change wdi5 type to promise Aug 28, 2025
@heimwege heimwege added wontmerge This PR will not be merged to main example This is an example for a certain feature labels Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

example This is an example for a certain feature wontmerge This PR will not be merged to main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant