question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Controller extension issues when using typescript

See original GitHub issue

I’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:open
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
nlunetscommented, Sep 7, 2022

It doesn’t help as far as i know more than it confirm there is a problem 😃

0reactions
heimwegecommented, Sep 7, 2022

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found