Skip to content

feat(dts-generator): add bindProperty declarations and tests to TypedJSONModel#561

Open
1110101 wants to merge 2 commits intoUI5:mainfrom
1110101:bindProperty
Open

feat(dts-generator): add bindProperty declarations and tests to TypedJSONModel#561
1110101 wants to merge 2 commits intoUI5:mainfrom
1110101:bindProperty

Conversation

@1110101
Copy link
Copy Markdown

@1110101 1110101 commented Apr 8, 2026

Adds the necessary typing for the bindProperty API of the JSONModel, to the TypedJSONModel.

import JSONModel from "sap/ui/model/json/JSONModel";
import TypedJSONContext from "sap/ui/model/json/TypedJSONContext";
import Context from "sap/ui/model/Context";
import PropertyBinding from "sap/ui/model/PropertyBinding";
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why isn't this JSONPropertyBinding (also at other places in this file and others in this commit)?

Suggested change
import PropertyBinding from "sap/ui/model/PropertyBinding";
import JSONPropertyBinding from "sap/ui/model/json/JSONPropertyBinding";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants