Skip to content

Add "overrides" to static props which go into the extend(...) object#82

Merged
r-murphy merged 1 commit intoui5-community:masterfrom
akudev:master-overrides
Feb 11, 2023
Merged

Add "overrides" to static props which go into the extend(...) object#82
r-murphy merged 1 commit intoui5-community:masterfrom
akudev:master-overrides

Conversation

@akudev
Copy link
Copy Markdown
Collaborator

@akudev akudev commented Feb 10, 2023

This is needed for ControllerExtensions: the "overrides" block needs to go into the ControllerExtension.extend() call, not appended to the class later as a static property.

Note that the name for this definition block is still "override" in the documentation at this time. But this is about to change, because a static property "override" clashes with the method ControllerExtension.override() in TypeScript.

Contributes to fixing UI5/typescript#332

This is needed for ControllerExtensions: the "overrides" block needs to
go into the ControllerExtension.extend() call, not appended to the class
later as a static property.

Note that the name for this definition block is still "override" in the
documentation at this time. But this is about to change, because a
static property "override" clashes with the method
ControllerExtension.override() in TypeScript.

Contributes to fixing UI5/typescript#332
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants