-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing working solution for event.getParameter("value") #409
Comments
Right, the solution involving Regarding the existing solution you tried, please check from which module you have imported Try with "InputBase$ChangeEventParameters" and |
I see the Input$ChangeEvent has also been mentioned in the release notes. 7d37027 fixes this and changes usages of |
thank you, this solves it! |
According to the release notes of 1.115.0 in https://sap.github.io/ui5-typescript/releasenotes.html
evt.getParameter("eventParamName");
now returns a typescript error:Argument of type 'string' is not assignable to parameter of type 'never'.ts(2345)
However the solution provided:
public handleChange(evt: UI5Event<$InputBaseChangeEventParameters>) : void { ... }
doesn't seem to work, because UI5Event is not defined as a type in"@sapui5/types": "^1.116.0"
I tried the following solution which does exists:
but still gives the type error:
Argument of type 'string' is not assignable to parameter of type 'never'.ts(2345)
The text was updated successfully, but these errors were encountered: