Controller extension issues when using typescript
See original GitHub issueI’m trying to switch a fiori elements odata v4 app to typescript and am facing the issue that the override
objects need to be brought into the extend call, just like the metadata
object for a control.
However even if that was ok, there is also a static function called override
on the ControllerExtension type which will contradict with this definition and create type conflict that can only be resolved through a ts-ignore.
Do you have any guidance for this ?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
typescript: extend core controllers with custom controller #12899
Bug report I want to extend my controllers with a custom one (not redefining a core one) and it seems we cannot do...
Read more >Cannot extend angularjs controller in typescript - Stack Overflow
I am trying to inherit an angularjs controller using Typescript's extends. But as soon as I extend the controller angularjs throws this error:....
Read more >How to extend the Express Request object in TypeScript
Let's learn how to extend the Request type in TypeScript to make its instances store custom data you can use at the controller...
Read more >Visual Studio Code, SAPUI5 Extension now supports Typescript
After couple of months of work and refactoring, the SAPUI5 Extension is finally working with Typescript. There are a lot of pros to...
Read more >VS Code API | Visual Studio Code Extension API
Registration is done using a document selector which is either a language id, like javascript or a more complex filter like { language:...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It doesn’t help as far as i know more than it confirm there is a problem 😃
Hi @nlunets was the reference to pull request 653 a mistake because it was deleted from the original comment or does 653 help with this issue as well?